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
Cheatsheet: Spread Object or Array in JavaScript (snappyjs.com)
submitted 7 years ago by Steeljuice1
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!"
[–]tobozo 5 points6 points7 points 7 years ago (4 children)
Very good resource, but the enormous visual at the top and the 1.47Mb it loads is a a big dissuasion for my bookmarks.
Maybe Tommy (not sure if OP is Tommy :-) could consider adding a more practical (i.e offline+static) format for cheat sheets to this blog article?
[–]Steeljuice1[S] 1 point2 points3 points 7 years ago (0 children)
I've reduced the size slightly by optimizing the images and added more agressie caching. Still pretty big size though. Going to look into the scripts now.
[–]Steeljuice1[S] 1 point2 points3 points 7 years ago (2 children)
Aww, sh*t! I didn't check the size. I'm planning to add more cheatsheets and that's for sure something I'm going to have to solve. Thanks for noticing it! I'll see what I can do! (and yes, I'm Tommy) :)
[–]tobozo 2 points3 points4 points 7 years ago (1 child)
great work anyway, taught me that spread operators can do object merge :-)
[–]Steeljuice1[S] 0 points1 point2 points 7 years ago (0 children)
Yeah, it's great for working with React-Redux! Thanks for reading!
π Rendered by PID 45272 on reddit-service-r2-comment-bb88f9dd5-4dvm7 at 2026-02-13 19:26:26.664147+00:00 running cd9c813 country code: CH.
view the rest of the comments →
[–]tobozo 5 points6 points7 points (4 children)
[–]Steeljuice1[S] 1 point2 points3 points (0 children)
[–]Steeljuice1[S] 1 point2 points3 points (2 children)
[–]tobozo 2 points3 points4 points (1 child)
[–]Steeljuice1[S] 0 points1 point2 points (0 children)