DEV Community

Discussion on: In defense of JavaScript oddities

Collapse
 
qm3ster profile image
Mihail Malo

I suggest you change

No one is surprised that the result of foo + bar is different from the result of bar + foo

to

No one is surprised that the result of 'foo' + 'bar' is different from the result of 'bar' + 'foo'

Yes, it's just one example, but pretty much the most obvious one.

Collapse
 
andychiare profile image
Andrea Chiarelli

Thanks for the suggestion, @qm3ster .
It was so in the original version... :-)