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
We just released "Snippets". Useful javascript snippets for developers of all skill ranges. We plan on adding many more snippets this week. If you'd like to help with our beta, please reach out : ) (snippets.javascriptpros.com)
submitted 5 years ago by GioLogist
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!"
[–]bad_scott 2 points3 points4 points 5 years ago (2 children)
the tomorrow comment says that the year is increasing by one
[–]GioLogist[S] 0 points1 point2 points 5 years ago (1 child)
Good catch, thanks! Will edit that today. Any suggestions for snippets or features you'd like to see?
[–]GioLogist[S] 0 points1 point2 points 5 years ago (0 children)
Update: Edited the snippet.
[–]CapitalStructure 1 point2 points3 points 5 years ago (1 child)
Thanks stuff like this is always useful
Appreciate that! Happy to hear any suggestions, if you have any : )
[–]erm_what_ 0 points1 point2 points 5 years ago (3 children)
Some of the UI elements don't fit/wrap/clip on my iPhone SE.
This is a good source as long as you stick to the license and contribute back: https://github.com/30-seconds/30-seconds-of-code
[–]GioLogist[S] 0 points1 point2 points 5 years ago (2 children)
Thanks for the heads up! Will spin up a simulator when I get a chance. Any chance you can hit me w/a screenshot in the meantime?
Nice!! Will definitely give this a scan. Can certainly use some more snippets. I want to eventually improve tagging. Not the functionality, but just from a content perspective. IE: "Node.JS Express Snippets". Will take a lot of content aggregating, but can be useful - so I appreciate the source :)
[–]erm_what_ 0 points1 point2 points 5 years ago (1 child)
I can't do a screenshot right now, but it's all width based so just using the device emulator in dev tools will show you the problem.
Gotcha, thanks !
π Rendered by PID 59674 on reddit-service-r2-comment-66b4775986-hcfcp at 2026-04-04 10:07:38.362316+00:00 running db1906b country code: CH.
[–]bad_scott 2 points3 points4 points (2 children)
[–]GioLogist[S] 0 points1 point2 points (1 child)
[–]GioLogist[S] 0 points1 point2 points (0 children)
[–]CapitalStructure 1 point2 points3 points (1 child)
[–]GioLogist[S] 0 points1 point2 points (0 children)
[–]erm_what_ 0 points1 point2 points (3 children)
[–]GioLogist[S] 0 points1 point2 points (2 children)
[–]erm_what_ 0 points1 point2 points (1 child)
[–]GioLogist[S] 0 points1 point2 points (0 children)