Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

le

Name: Anonymous 2014-01-20 4:36

Did anyone said javashit?


typeof null
=> "object"

Object.getPrototypeOf(null)
=> TypeError: Object.getPrototypeOf called on non-object

typeof NaN
=> "number"

NaN != NaN
=> true

var i = 1; 
i = i + "";
i + 1;
=> "11"
i - 1;
=> 0

var j = "1";
j++;
=> 2
 
var k = "1";
k += 1;
=> "11"

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2014-01-20 4:54

If you're going to use a dynamic, flexibly-typed language then the least you should do is learn the type conversion rules... idiot.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List