|Test Your Knowledge With The JS Is Weird Quiz|
|Written by Nikos Vaggalis|
|Friday, 08 September 2023|
To that end most people employ the 'standard' language feature and never look back. However, the language is more powerful and nuanced if you look just under the tip of the iceberg as the language's subtleties can really trip you up in unexpected ways.
Many people for example get confused by:
and so on.
The "JS Is Weird" quiz goes beyond the ordinary usage of the language. It is comprised of 25 mind bending questions
The quiz begins with "easy" questions like the very first one :
what does "true + false" make ?
pick your choice!
and steadily increases the difficulty level, i. e what give the following?
"" - - ""
Towards then end it peaks with questions like
undefined + false
+!!NaN * "" - - [, ]
Upon completion, you are presented with a nice overview of which problems you solved and which you failed, along
Admittedly most of the quiz questions no one will encounter in their day to day programming as they mostly look like parts of an obfuscation context. However, the point is that the quiz goes to highlight the depths that this nevertheless simplistic language can get to. If on the other hand you managed to get the most or all correctly then you are a true Hacker.
or email your comment to: firstname.lastname@example.org
|Last Updated ( Friday, 08 September 2023 )|