+ 9
What is the weirdest thing you've seen in javascript?
is javascript weirdest?
10 Respostas
+ 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