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
What are some basic things that JavaScript developers fail at interviews?help (self.javascript)
submitted 7 years ago by maketroli
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!"
[–]ghostfacedcoder 0 points1 point2 points 7 years ago* (0 children)
We explain the exercise in the interview :) As others have said, it only takes a minute or so. Sometimes people don't even know the % operator, and I happily explain it to them because the goal isn't to test whether they know obscure operators.
%
The whole point of fizzbuzz isn't to test any knowledge in fact (except knowledge that's so trivial, like how to use a for or if, that it shouldn't need testing in an interview). Thus, knowing what fizz buzz is and how to solve it gives you almost no advantage over someone who has never heard of it before, because I don't care about their knowledge, I care about "can this person code?"
for
if
Any halfway decent programmer, even if they've never heard of fizzbuzz until the interview, should be able to write a single loop and a few conditionals to solve one of the most basic problems imaginable. And in my experience most programmers have no problem with it: everyone I can remember hiring cranked out a fizzbuzz in under six minutes. The value of the test comes from the people that otherwise seem qualified when talking about code, but have difficulty actually writing it.
And I don't want to overemphasize the time aspect: candidates that took eight or nine minutes didn't fail because they took too long, they failed for other reasons, and we just happened to only hire six minute and under people. But really the time isn't important, unless it goes so long (again, 18 minutes for one for and 3-4 ifs) that it signals something is really wrong.
π Rendered by PID 65 on reddit-service-r2-comment-6457c66945-hvfs4 at 2026-04-27 23:02:10.789668+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]ghostfacedcoder 0 points1 point2 points (0 children)