top | item 14473361

(no title)

fdsfsafasfdas | 8 years ago

What is the error in 1+'1'? It seems like it would just be '11'.

Unless, of course, you're implying it converts javascript into a strongly typed language, which would be amazing.

discuss

order

boubiyeah|8 years ago

It keeps most of JS semantics, for better or worse :p

1 + '1' is authorized.

1 + [] is not.