DEV Community

Discussion on: What do you wish to know about JavaScript when you were in university?

Collapse
 
leob profile image
leob

The famous example:

'10' + 1 === '101'
'10' - 1 === 9

:-)

(and the difference between == and === that's also a nice one)