DEV Community

Discussion on: What is the oddest JavaScript behavior?

Collapse
 
xanozoid profile image
XANOZOID • Edited

I love this. It just made me think about something pretty interesting... If you think of this in terms of what it actually could mean for a mathematical function, then the string appendage (regarding integers) could be thought of as its own math operation too - in a very round about way.

Collapse
 
alephnaught2tog profile image
Max Cerrina

Absolutely, and not even in a very roundabout way, you're pretty spot on :)