DEV Community

Discussion on: Sometimes JavaScript is Tricky.

Collapse
 
mirkodrummer profile image
Mirko Mariani • Edited

Postfix and prefix unary operators works the same in c family languages. It’s not an oddity of the language per se. They are old operators that can lead to confusion. But other than that I don’t see how a language can be tricky with examples like typeof typeof 1 😅 Or the example with the continue keyword, again it’s not an oddity of the language it’s just basic programming, continue is used in pseudo code as well...