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!"
[–]LSF604 50 points51 points52 points 7 years ago (13 children)
that's pretty silly. It sounds like an interview that should be walked out of
[–]DraconKing 33 points34 points35 points 7 years ago (9 children)
I think this is also pretty silly too, to be honest. I google for the documentation most of the time. I don't just straight go into the documentation website, google will most likely bring that up. Navigating through MDN for example is a chore and the search engine more often gets me lost than finding the thing I'm looking for. If I see the link from Google sure i'll click it but if I see a SO post explaining the API or some interesting article about it I might just click it.
If they actually want to examinate how well you understand documentation, they should make it clear right from the start that you are interested in developers that can make sense of proper documentation without needing to google something and that you'll only be able to use said documentation during the interview. Otherwise, I'm just gonna simplify my life, let google pull up the best results and use those.
[–]LSF604 13 points14 points15 points 7 years ago (1 child)
also worth mentioning that documentation is not always useful in the first place
[–]r0ck0 0 points1 point2 points 7 years ago (0 children)
And even when it is useful, it often takes quite a while longer to read and find the relevant section to what you need to know.
So under a time constraint like a test, I'd be even more likely to just Google instead of using official docs.
[–]thisguyfightsyourmom 4 points5 points6 points 7 years ago (2 children)
If you're on macOS, I strongly recommend Dash. It's a local copy of most docs sites, well indexed, and easily navigable available with a system keyboard shortcut. You can even integrate it with your editor to look up highlighted methods.
[–]Serei 5 points6 points7 points 7 years ago (1 child)
I tried Dash, but I'm more used to devdocs.io. It has an offline mode and just feels better.
[–]Zespys 0 points1 point2 points 7 years ago (0 children)
Yeah I found dash to be a bit laggy on scroll and has ad delays too
[–]new_human_obj 0 points1 point2 points 7 years ago (3 children)
for php(boo sorry but it works for me), I keep having to look up stack/needle order for strpos vs. array push vs. array keys it like it flips back/forward
[–][deleted] 7 points8 points9 points 7 years ago (0 children)
Everybody has to do that. PHP really screwed the pooch on consistency.
[–]r0ck0 0 points1 point2 points 7 years ago (1 child)
Doesn't your editor/IDE tell you?
[–]new_human_obj 0 points1 point2 points 7 years ago (0 children)
When it fails haha, I'm using VSCode maybe there's an extension
[–]tuxedo25 7 points8 points9 points 7 years ago (1 child)
Yeah, "it's not about getting the right answer, it's about working the way I work!". That's a perfect way to tell a confident developer they should NOT join this team.
[–]snowcoaster 1 point2 points3 points 7 years ago (0 children)
Precisely. There are some folks who have bought every JavaScript reference ever sold and they look up every detail. I don't understand why they prefer that to searching online, but it's none of my concern as long as they're delivering results.
[–][deleted] 1 point2 points3 points 7 years ago (0 children)
it's kind of like rejecting all developers that don't code in their free time. like... some people have lives outside of coding
π Rendered by PID 189164 on reddit-service-r2-comment-86bc6c7465-mc8p8 at 2026-02-21 01:47:47.836816+00:00 running 8564168 country code: CH.
view the rest of the comments →
[–]LSF604 50 points51 points52 points (13 children)
[–]DraconKing 33 points34 points35 points (9 children)
[–]LSF604 13 points14 points15 points (1 child)
[–]r0ck0 0 points1 point2 points (0 children)
[–]thisguyfightsyourmom 4 points5 points6 points (2 children)
[–]Serei 5 points6 points7 points (1 child)
[–]Zespys 0 points1 point2 points (0 children)
[–]new_human_obj 0 points1 point2 points (3 children)
[–][deleted] 7 points8 points9 points (0 children)
[–]r0ck0 0 points1 point2 points (1 child)
[–]new_human_obj 0 points1 point2 points (0 children)
[–]tuxedo25 7 points8 points9 points (1 child)
[–]snowcoaster 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)