Post

Jake
Jake@JakeMaldy·
@JavaScriptDaily Explain this one: ([]+{})[!+[]<<!+[]]+([]+!!+[])[+!+[]]+([]+!+[])[+[]]+(+{}) returns "batNaN"
English
1
0
4
0
billgil
billgil@billgil·
@JavaScriptDaily 'b' + 'a' = 'ba' + Undefined Var + 'a' = nan (not a number) + 'a' + toLowerCase function stringifies the result = 'banana' An educated guess 😅
English
0
0
1
0
Harsh
Harsh@ThePerfectH·
@JavaScriptDaily If you don’t know why this work and are actually amused by this, you need some JS classes for sure.
English
1
0
0
0
แชร์