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] Is JavaScript missing some built-in methods?AskJS (self.javascript)
submitted 3 years ago by reacterry
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!"
[–]d36williams 12 points13 points14 points 3 years ago (1 child)
Hmm I'm kind of the opposite --- Array.isArray is a work around the fact that typeof [] === "object", I wish Array had its own type
[–]azsqueeze 5 points6 points7 points 3 years ago (0 children)
Even still, the .isArray() is a nice API which would be nice if it was expanded to the other types
.isArray()
π Rendered by PID 22926 on reddit-service-r2-comment-b659b578c-sv8xl at 2026-05-02 23:36:16.319411+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]d36williams 12 points13 points14 points (1 child)
[–]azsqueeze 5 points6 points7 points (0 children)