+ 9
What is the weirdest thing you've seen in javascript?
is javascript weirdest?
10 Answers
+ 7
0 == [] //trueđ
"0" == 0 //trueđ
"0" == [] //falseđ
+ 7
[]+[] equals to ""
[]*2 equals to 0
ÂŻ\_(ă)_/ÂŻ
+ 6
The first time I saw the arrow functions
+ 3
For me it was learning the comment code so far since im new to all this
+ 3
The arrow functions
+ 1
Code on this... http://www.jsfuck.com/
+ 1
===
0
todo!! porque inicio
0
'5' == 5
>>>true
0
try to predict answer for php quizes in case of method names etc after that I think that js is not a wierdest. also type conversion is pretty wierd.
for js:
NaN == NaN; // false