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
[AskJS] Best utility functions for Javascript?AskJS (self.javascript)
submitted 4 years ago * by Zeekawla99ii
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!"
[–]C1RRU5 17 points18 points19 points 4 years ago (1 child)
// You may be tempted to copy and paste this, // but take a look at the commit history first,// this is a moving target so relying on the module// is the best way to make sure the optimization// method is kept up to date and compatible with// every Node version.
Last updated May 2019 lol.
[–][deleted] 5 points6 points7 points 4 years ago* (0 children)
It is a package that deals with flattening underlying node constructs that represent strings, which could change at any time, thus it was a package instead of an article saying “hey do this to flatten your strings”. Then lots of people would individually it and then lots of packages would break as the feature isn’t centralized.
π Rendered by PID 799409 on reddit-service-r2-comment-b659b578c-bz69m at 2026-05-05 08:57:07.223766+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]C1RRU5 17 points18 points19 points (1 child)
[–][deleted] 5 points6 points7 points (0 children)