Why the boxed Int shows unexpected behaviour on comparison?

后端 未结 0 987
故里飘歌
故里飘歌 2021-02-20 11:27

I don\'t understand why boxedA === anotherBoxedA returns true.

And boxedB === anotherBoxedB return false

<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题