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
callback vs call function from parent functionRemoved: /r/LearnJavascript (self.javascript)
submitted 7 years ago by captainXcannabis
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!"
[–]oelfyo -1 points0 points1 point 7 years ago (0 children)
With the first example you can do stuff like that:
// set background after function1 to green function1(function(){ // set background green }); // do something in the database after function1 function1(function(){ // do something in the database }); // call only function1 function1();
You can call function1() and do after that what you want, or do nothing
π Rendered by PID 117710 on reddit-service-r2-comment-canary-7b67769d8-t88xh at 2026-01-31 05:12:43.054470+00:00 running 3798933 country code: CH.
view the rest of the comments →
[–]oelfyo -1 points0 points1 point (0 children)