Tuesday, February 19, 2013

Go home JavaScript, you're drunk



Javascript: the only programming language that makes sense. Go and try this in your JS console, I mean, it's super intuitive!

> NaN === NaN

false
------------------

> typeof NaN == "number"
true
------------------
> function Foo() {} 
> Object.getPrototypeOf(Foo) === Function.prototype  
true
------------------

> 10000000000000000 === 10000000000000001  
true