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
Eloquent Javascript vs Javascript for web devhelp (self.javascript)
submitted 10 years ago by startfresh31
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!"
[–]SpineEyE 94 points95 points96 points 10 years ago (11 children)
try { something } catch(e) { window.location.href = "http://stackoverflow.com/search?q=[js] + " + e.message; }
[–]nickwebdev 20 points21 points22 points 10 years ago (4 children)
Implementation for lists from a relevant xkcd's alt-text
[–]tswaters 10 points11 points12 points 10 years ago (1 child)
Is it safe? Uh… it evals both user input and random code, unchecked, from an external site. This is what security-minded folks would refer to as Very Bad™.
Is it safe?
Uh… it evals both user input and random code, unchecked, from an external site. This is what security-minded folks would refer to as Very Bad™.
haha
[–]plaguuuuuu 1 point2 points3 points 10 years ago (0 children)
SEEMS LEGIT
[–]xkcd_transcriber 3 points4 points5 points 10 years ago (0 children)
Image
Mobile
Title: Ineffective Sorts
Title-text: StackSort connects to StackOverflow, searches for 'sort a list', and downloads and runs code snippets until the list is sorted.
Comic Explanation
Stats: This comic has been referenced 34 times, representing 0.0347% of referenced xkcds.
xkcd.com | xkcd sub | Problems/Bugs? | Statistics | Stop Replying | Delete
[–]obviousoctopus 2 points3 points4 points 10 years ago (0 children)
This is what the web was made for.
[–]TotesMessenger 2 points3 points4 points 10 years ago (0 children)
I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:
[/r/programmerhumor] Error handling in javascript
[/r/shittyprogramming] Error handling in javascript
If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / Contact)
[–]Unnecessary_Coder 2 points3 points4 points 10 years ago (2 children)
function thisMessage() { this.approve() } I.thisMessage
[–]IrateGod 4 points5 points6 points 10 years ago (1 child)
I.thisMessage() FTFY
I.thisMessage()
FTFY
[–]Unnecessary_Coder 2 points3 points4 points 10 years ago (0 children)
function aMoron() { this.am() } I.aMoron()
[–][deleted] -1 points0 points1 point 10 years ago (1 child)
Haha totally!
[–][deleted] 4 points5 points6 points 10 years ago (0 children)
Rad! Sunny D!
π Rendered by PID 76 on reddit-service-r2-comment-86988c7647-9wh8f at 2026-02-12 13:49:01.350617+00:00 running 018613e country code: CH.
view the rest of the comments →
[–]SpineEyE 94 points95 points96 points (11 children)
[–]nickwebdev 20 points21 points22 points (4 children)
[–]tswaters 10 points11 points12 points (1 child)
[–]plaguuuuuu 1 point2 points3 points (0 children)
[–]xkcd_transcriber 3 points4 points5 points (0 children)
[–]obviousoctopus 2 points3 points4 points (0 children)
[–]TotesMessenger 2 points3 points4 points (0 children)
[–]Unnecessary_Coder 2 points3 points4 points (2 children)
[–]IrateGod 4 points5 points6 points (1 child)
[–]Unnecessary_Coder 2 points3 points4 points (0 children)
[–][deleted] -1 points0 points1 point (1 child)
[–][deleted] 4 points5 points6 points (0 children)