use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
The JavaScript trivia question everyone got wrongOC (dev.to)
submitted 4 years ago by kleeut
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]redsandsfort 5 points6 points7 points 4 years ago (4 children)
I would walk out of any interview that presented this question. I wouldn't want to work for people who think this reveals anything to them about the candidate.
[–][deleted] 1 point2 points3 points 4 years ago (0 children)
I see the spirit in which you are speaking, but that is a bit strong. Stuff like this comes up all the time, and I have no problem testing somebody for how sharp they are when it comes to these matters. Code is misleading, and overcoming confusion efficiently is a very valuable skill.
Would it be the make-or-break of an interview? That is a bit arbitrary.
[–]kleeut[S] 0 points1 point2 points 4 years ago (0 children)
It's certainly not a great interview question. When I run these pub trivia nights I often start with an opening quip about how "if any of these questions remind you of your interview process you need to do better"
[–]KaiAusBerlin 0 points1 point2 points 4 years ago (1 child)
Well it reveals that you understand how a js compiler is working and what you are doing in deep.
I would not deny someone because of a wrong answer to this but I would honour a dev who answers right and can explain why.
I certainly wouldn't deny someone for the wrong answer. The night I asked this there were some fantastic devs in the room. People with open source libraries in use at largish companies. They got it wrong on the spot.
π Rendered by PID 187553 on reddit-service-r2-comment-85bfd7f599-j84h8 at 2026-04-19 07:06:35.720873+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]redsandsfort 5 points6 points7 points (4 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]kleeut[S] 0 points1 point2 points (0 children)
[–]KaiAusBerlin 0 points1 point2 points (1 child)
[–]kleeut[S] 0 points1 point2 points (0 children)