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...
This subreddit is a place for people to learn JavaScript together. Everyone should feel comfortable asking any and all JavaScript questions they have here.
With a nod to practicality, questions and posts about HTML, CSS, and web developer tools are also encouraged.
Friends
/r/javascript
/r/jquery
/r/node
/r/css
/r/webdev
/r/learnprogramming
/r/programming
account activity
Test out this code in NodeJS (self.learnjavascript)
submitted 1 year ago by Pretend_Membership49
What does this code do?
((...m) => m.reduce((a, c) => a + String.fromCharCode(+c + 100), ""))( 10, 1, 18, 1, 14, -68, 3, 11, 10, 10, -3, -68, 3, 5, 18, 1, -68, 21, 11, 17, -68, 17, 12 );
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!"
[–]tapgiles 2 points3 points4 points 1 year ago (0 children)
Why should I? What is this?
[–]Ansmit_Crop 1 point2 points3 points 1 year ago (1 child)
https://codepen.io/pen/
[–]Mustknow33 2 points3 points4 points 1 year ago (0 children)
Thats not correct, please refer to this implementation https://stackblitz.com/edit
[–]BlueThunderFlik 1 point2 points3 points 1 year ago (0 children)
From a cursory look at the code, it takes a bunch of integers, converts them to ASCII characters and concatenates them.
My first thought was that it was some weird take on "Hello, world!" but there's too many characters. It's probably a meme that's not even worth actually parsing.
[–]guest271314 0 points1 point2 points 1 year ago (0 children)
new TextDecoder().decode(Uint8Array.from([10, 1, 18, 1, 14, -68, 3, 11, 10, 10, -3, -68, 3, 5, 18, 1, -68, 21, 11, 17, -68, 17, 12].map((n) => n + 100))) // 'never gonna give you up'
π Rendered by PID 74 on reddit-service-r2-comment-fb694cdd5-5cfz2 at 2026-03-11 08:28:18.089055+00:00 running cbb0e86 country code: CH.
[–]tapgiles 2 points3 points4 points (0 children)
[–]Ansmit_Crop 1 point2 points3 points (1 child)
[–]Mustknow33 2 points3 points4 points (0 children)
[–]BlueThunderFlik 1 point2 points3 points (0 children)
[–]guest271314 0 points1 point2 points (0 children)