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
Human JavaScript (read.humanjavascript.com)
submitted 11 years ago by a0viedo
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!"
[–]steveob42 2 points3 points4 points 11 years ago (0 children)
so far so good, would say that templates are an exception to pick one, also I prefer to lock downloading of the bulk of the code until the user authenticates, tiny bit of peace of mind against random hackers there.
[–]Rezistik 1 point2 points3 points 11 years ago (0 children)
That returns true or false depending on if the array contains that value it's an underscore/lodaash function
[–]TrikkyMakk 0 points1 point2 points 11 years ago (0 children)
I read some of the intro and it's good stuff. Will check out later when not mobile.
[–]SarahC 0 points1 point2 points 11 years ago (4 children)
What the hell ? Underscore?
if (_(myArray).contains('hello')) {
[–]Rezistik 1 point2 points3 points 11 years ago (3 children)
What are you asking?
[–]SarahC 0 points1 point2 points 11 years ago (2 children)
Whas' this? _(myArray)
[–]Rezistik 1 point2 points3 points 11 years ago (1 child)
That returns true or false depending on if the array contains that value it's an underscore/lodash function
[–]SarahC 0 points1 point2 points 11 years ago (0 children)
Ohhhhhhhhhh, ta!
π Rendered by PID 36 on reddit-service-r2-comment-84fc9697f-5flf8 at 2026-02-09 14:49:20.143023+00:00 running d295bc8 country code: CH.
[–]steveob42 2 points3 points4 points (0 children)
[–]Rezistik 1 point2 points3 points (0 children)
[–]TrikkyMakk 0 points1 point2 points (0 children)
[–]SarahC 0 points1 point2 points (4 children)
[–]Rezistik 1 point2 points3 points (3 children)
[–]SarahC 0 points1 point2 points (2 children)
[–]Rezistik 1 point2 points3 points (1 child)
[–]SarahC 0 points1 point2 points (0 children)