r/javascript • • Jun 27 '21

A fun JavaScript quiz that will test your knowledge on somewhat obscure JS syntax

https://jsisweird.com/

[removed] — view removed post

114 Upvotes

17 comments sorted by

14

u/SoreSpores Jun 27 '21

Very informative! I had fun even though I got half the questions wrong...

12

u/Lekoaf Jun 27 '21

Half? Showoff. 7/25.

3

u/Wiwwil Jun 27 '21

9/25

2

u/NeilFX Jun 27 '21

Showoffs i got 2/25

1

u/purpleovskoff Jun 27 '21

Me too, though it'd be nice if we could go back and if clicking the links in the answers opened it in a new tab or forced browser for mobile app users

1

u/MrStLouis Jun 27 '21

I got 14/25, the bool and numerical conversions of random objects seemed to be a common theme and I stuck with my approach each time haha

6

u/jeremyman10 Jun 27 '21

Hehe challenging, 8 correct answers only

2

u/tapu_buoy Jun 27 '21

okay didn't expect to get 11 correct. But I still do weirded out about few of these.

2

u/redldr1 Jun 27 '21

JS is like that creepy uncle at family parties, he's there because everyone knows him and he's rich.

1

u/cgfn Jun 27 '21

I got 16 and I feel like I can take on the world. I knew the octal one, but still have zero idea when you would use octal in JS. If you're doing complex bases or bit manipulation, seems like something that would live server-side

-16

u/Under-Estimated Jun 27 '21

Me, a hobbyist JS programmer who got 22 lol

1

u/rodneon Jun 27 '21

I don't know why you're getting downvoted. Having a solid understanding of JavaScript's implicit casts and other arcane syntactic rules is not an absolutely necessary skill, but it is something to be proud of, even if those rarely crop up when you write JavaScript for a living or as a hobby. I've been writing JS for 20+ years, and I got 14. 22 is impressive. Great job!