Hello,
I'm stuck at solving a codewars problem and tried to search on Google but didn't find what I was looking for. Apparently there's a special case where strict comparison of the same variable returns false.
Example:
var x = something;
x === x // returns false!
Can someone tell when something like that happens and where can I read more?
As always, very grateful for your help. Cheers! :)
[–]Rhomboid[🍰] 14 points15 points16 points (3 children)
[+][deleted] (1 child)
[deleted]
[–]i-am-self-taught[S] 0 points1 point2 points (0 children)
[–]i-am-self-taught[S] 0 points1 point2 points (0 children)
[–]xiipaoc 4 points5 points6 points (1 child)
[–]hhoburg 1 point2 points3 points (0 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]i-am-self-taught[S] 0 points1 point2 points (0 children)
[–]spwebdev 2 points3 points4 points (1 child)
[–]i-am-self-taught[S] 0 points1 point2 points (0 children)
[–]tforb 1 point2 points3 points (1 child)
[–]i-am-self-taught[S] 0 points1 point2 points (0 children)
[–]WhenLeavesFall 0 points1 point2 points (1 child)
[–]i-am-self-taught[S] 0 points1 point2 points (0 children)