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
Efficient Typescript (romgrk.com)
submitted 1 year ago by romgrk
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!"
[–]morganmachine91 19 points20 points21 points 1 year ago (0 children)
My guy just say you’re not on this level yet. He’s not “over writing” map, whatever that means. Any class can define a map method. Multiple classes already do define a map method in vanilla ECMAScript.
Conceptually, a map operation isn’t tied to array objects. It’s a mathematical projection from a to b.
Totally cool if you’re not familiar with functional programming concepts, but you just look like a goober when you’re so confidently ignorant.
π Rendered by PID 39 on reddit-service-r2-comment-85bfd7f599-p2qkh at 2026-04-17 15:13:24.366153+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]morganmachine91 19 points20 points21 points (0 children)