Posts by user215066 • 101 points
1 post
-
10
votes3
answers229
viewsA: Has Javascript changed its rules about what is false or true?
This is no problem in your logic. This is a Javascript trap. In your browser’s Javascript, when you declare a variable in the global scope, it becomes a property of the object window. As well as…