DEV Community

Discussion on: Meme Monday 😈

Collapse
 
brunoj profile image
Bruno

JS adding

Collapse
 
citronbrick profile image
CitronBrick

Seriously, does JS allow that ?
Languages with operator overloading do though (C++, Ruby, Scala etc.).

Collapse
 
danspinola profile image
Dan Spinola

Yes, but the result is NaN (Not a Number).