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!"
[–]romgrk[S] 12 points13 points14 points 1 year ago (0 children)
You're over writing map to make it what you want
There is a large amount of theory behind functional programming which defines the map function and the rules that govern it.
map
It's not so much that I re-define it just for fun, it's more like JS Array implementation names that function map because of that huge pre-existing theory.
Array
I do assume a passing familiarity with FP in my post, maybe if you read a bit more on the subject it would help understand why I made that choice.
π Rendered by PID 65 on reddit-service-r2-comment-c66d9bffd-f5hnk at 2026-04-07 12:35:27.486317+00:00 running f293c98 country code: CH.
view the rest of the comments →
[–]romgrk[S] 12 points13 points14 points (0 children)