logoalt Hacker News

tpmtoday at 12:00 PM1 replyview on HN

Yeah - it's a bit non-intuitive you can change the value of a number.

https://thedailywtf.com/articles/Disgruntled-Bomb-Java-Editi...


Replies

inigyoutoday at 12:59 PM

In Python 2 you could literally do

    True = False
and of course in JavaScript

    undefined = "a string"