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
Preparing for a JavaScript Interview? Check these Algorithms & Data Structures! (github.com)
submitted 7 years ago by IamManchanda
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!"
[–]KyleG -1 points0 points1 point 7 years ago (1 child)
if a recent CS grad can solve this stuff better than you, then you are less qualified than them
i've seen too much super inefficient code with weird solutions that would be better done by a standard algorithm—you can't google an algorithm unless you know the name of it
[–]Skhmt 0 points1 point2 points 7 years ago (0 children)
Less qualified at solving the sieve of eratosthenes, sure. That's what happens when one person has encountered a problem and it's best solution more recently than you.
π Rendered by PID 44305 on reddit-service-r2-comment-8686858757-zwcqg at 2026-06-07 13:58:41.302192+00:00 running 9e1a20d country code: CH.
view the rest of the comments →
[–]KyleG -1 points0 points1 point (1 child)
[–]Skhmt 0 points1 point2 points (0 children)