News for hackers. Stuff that matters.
Re:Why does `True == False is False` evaluate to False in Py... by esrauch on Saturday May 02, 2020 @05:26PM (#23055054)
It's just ASI (automatic semicolon insertion) and at the top-level {} declares a block not an object.

You can also do like ({} + []) and it will actually be "adding" them; the confusion solely comes from people typing into the JS console something that wouldn't make any sense to put into an actual script.

There are no comments on this comment yet.