Correct. 5 !== new Number(5). Values and references aren't exactly the same. For most purposes, you can treat everything like an object in JS, but it's nuanced.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Correct.
5 !== new Number(5)
. Values and references aren't exactly the same. For most purposes, you can treat everything like an object in JS, but it's nuanced.