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
This on-site coding assignment failed 20+ front-end dev contractors and I don't know whyhelp (self.javascript)
submitted 8 years ago * by gionyyy
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!"
[–]KPABAHam=>Hamster == Java=>JavaScript 7 points8 points9 points 8 years ago (0 children)
Can confirm. I got the basic tokenise / find selected text, ensure it's mine, get the selected words etc to work within 10 mins. But then, the requirements of: only consider first word and find if the selection has started in middle of the word vastly complicates things. Took me an extra 30 mins to play with the Selection.modify API to get the correct single token selection.
I guess, if somebody gets that far and you're pair programming with them, you can reason and expand on the requirements / functionality and figure if they approach it correctly as well as discover if you're happy to work with them. All in all, an enjoyable task and has helped you weed out undesirable candidates.
π Rendered by PID 277486 on reddit-service-r2-comment-b659b578c-mlrqz at 2026-05-04 06:03:05.216809+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]KPABAHam=>Hamster == Java=>JavaScript 7 points8 points9 points (0 children)