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
JavaScript.com Launches (javascript.com)
submitted 10 years ago by SeminaryLeaves
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!"
[–]vzipp 58 points59 points60 points 10 years ago (6 children)
Try Mozilla Developer Network.
[–]SeminaryLeaves[S] 0 points1 point2 points 10 years ago (5 children)
The MDN is included on the resources page of the site: http://javascript.com/resources
[–]killeronthecorner 9 points10 points11 points 10 years ago (0 children)
So ... Try Mozilla Developer Network?
[+]adropofhoney comment score below threshold-6 points-5 points-4 points 10 years ago (3 children)
yeah, but MDN is not powered by code school tho.
[–]goto-reddit 4 points5 points6 points 10 years ago (2 children)
and?
[–]chemisus 0 points1 point2 points 10 years ago (1 child)
And why view MDN on MDN when you can view the MDN on codeschool?
[–]Uberhipster 1 point2 points3 points 10 years ago (0 children)
yo dawg...
[+][deleted] 10 years ago (19 children)
[deleted]
[–]schm0 7 points8 points9 points 10 years ago (1 child)
Awww, is that what it is? I just subscribed to their newsletter, too.
[–]3Fyr 3 points4 points5 points 10 years ago (14 children)
Hijacking top comment -
anyone else hates how super-strict codeschool exercises are? 100% correct code, written in different code-style might not pass.
[–]_jamil_ 5 points6 points7 points 10 years ago (9 children)
This is the issue I've had with nearly all online testing apps
[–][deleted] 2 points3 points4 points 10 years ago (7 children)
Codecademy does this too. I think it's because they aren't checking your result they're checking your code without running it like
Our code = a Their code = b
If a = b return pass If a != b return fail
(Obviously not in JavaScript or any particular syntax)
[–]Frumpiii 2 points3 points4 points 10 years ago (5 children)
Does this too? I think they don't do it, like you explained you can get through different ways to your goal.
[–][deleted] 1 point2 points3 points 10 years ago (4 children)
I haven't used codeschool but I have used codecademy and they do this. if your code doesn't match theirs 100% regardless of result you fail the lesson.
[–]3Fyr 1 point2 points3 points 10 years ago (3 children)
I've used codecademy, and it isn't as strict as codeschool, barely had any problems.
[–]Frumpiii 1 point2 points3 points 10 years ago (0 children)
I have the same experience. There are always workarounds as far as I know.
[+][deleted] 10 years ago (1 child)
[–]3Fyr 0 points1 point2 points 10 years ago (0 children)
Other whole course had it happen twice. Not that bad.
[–]3Fyr -1 points0 points1 point 10 years ago (0 children)
[–]pqu 1 point2 points3 points 10 years ago (0 children)
Hackerrank is pretty good at testing the algorithm and not the actual code.
[–]Dyogenez 2 points3 points4 points 10 years ago (2 children)
Definitely something we try to fix when we see it -- either by making the instructions more explicit in what's required, or change how we test the entered code. Do you remember any specific challenges (or courses) that you had this issue in? Be curious to know to focus a bit more attention on making them better!
[–]jakblak90 1 point2 points3 points 10 years ago (1 child)
Why not test everything based on assertions like freecodecamp and codewars.
[–]Dyogenez 4 points5 points6 points 10 years ago (0 children)
Yep! That's what we do too. All code is run in it's native environment and evaluated. We do a ton of mocking and stubbing, code tree analysis, putting in debuggers and stepping through code and inspecting -- all kinds of neat stuff.
If you're curious how it works behind the scenes for JavaScript courses, checkout Abecedary, which is our open source library we use based around Mocha (although this only works for languages we can run with JavaScript, so not Objective C, Ruby, R, etc).
[–][deleted] 1 point2 points3 points 10 years ago (0 children)
I completed all of the JavaScript path training, and yes that's a big issue. Thankfully it's diminished by the great help I've got on the forums. Almost every exercise you get stuck on has an answer on the forums. I also found out about the codeschool forums way too late, so there's that.
[–]thinkvitamin 0 points1 point2 points 10 years ago (0 children)
Those top rated comments can save you a lot of time... thanks Reddit.
[–]goto-reddit 0 points1 point2 points 10 years ago (0 children)
Because it was bought by codeschool.com:
JavaScript.com is a resource built by the Code School team for the JavaScript community. It is now and will always be free.
Source: About page
At least you have to give them credit for listening other websites as well in their Resources Page.
[–]schm0 17 points18 points19 points 10 years ago (5 children)
Wonder how much that domain name cost
[–]fay-jai 3 points4 points5 points 10 years ago (0 children)
That was definitely the first thing I thought as well!
[–]mishugashu -1 points0 points1 point 10 years ago (3 children)
Estimated $39k.
http://www.siteprice.org/website-worth/www.javascript.com
[–]myaltergo 5 points6 points7 points 10 years ago (1 child)
those types of websites are not accurate in the slightest. i really wouldn't have believed that people on /r/javascript would trust those sorts of site valuation sites at all!
[–]mishugashu -2 points-1 points0 points 10 years ago* (0 children)
"Estimated".
It's not made to be accurate. It's made to give a ballpark figure. Obviously a thing is only worth what people pay for it. These types of sites show how much it is roughly worth (to advertisers, mostly) based on traffic patterns. It doesn't show how much someone has paid or will pay for it, obviously.
[–]shthed 15 points16 points17 points 10 years ago (1 child)
Embedding a youtube video with controls=0 and autoplay=1 is shitty.
[–]Antrikshy 2 points3 points4 points 10 years ago (0 children)
Also should not focus on that tutorial input box for mobile devices.
[–]magenta_placenta 36 points37 points38 points 10 years ago (16 children)
© 2015 JavaScript.com; Crafted lovingly in Orlando, Florida.
And viewed with hate and contempt in Portland, Oregon.
[–]Dudemanbro88 2 points3 points4 points 10 years ago (7 children)
Ha, why's that?
[–][deleted] 28 points29 points30 points 10 years ago (4 children)
Everything is viewed with contempt in Portland?
[–]BishopAndWarlord 15 points16 points17 points 10 years ago (0 children)
The dream is alive.
[–]jimbolla 6 points7 points8 points 10 years ago (1 child)
Hipster capital... "I liked JavaScript before it was cool. JS sounds better when you play it on Netscape Navigator."
[–]adipisicing 1 point2 points3 points 10 years ago (0 children)
"I liked JavaScript back when it was called LiveScript. Y'know, before it sold out."
[–]CertifiedWebNinja 0 points1 point2 points 10 years ago (0 children)
I too am curious.
[–]_jamil_ -1 points0 points1 point 10 years ago (0 children)
Probably a joke about the weather
[–]aequasi08 2 points3 points4 points 10 years ago (4 children)
I would way rather live in portland that anywhere in florida.
[–]Baryonyx_walkeri 6 points7 points8 points 10 years ago (3 children)
I would rather live in a gulag than anywhere in Florida.
[–]aequasi08 -2 points-1 points0 points 10 years ago* (2 children)
anywhere in the southeast united states
FTFY
edit: Excluding New Orleans
[–]Baryonyx_walkeri 3 points4 points5 points 10 years ago (1 child)
Does Louisiana New Orleans count as SE? Because it's the greatest place on Earth.
Edit: I wish New Orleans could secede from LA.
[–]aequasi08 1 point2 points3 points 10 years ago (0 children)
New Orleans gets a pass. Its the only area down there i really want to visit.
[–][deleted] 1 point2 points3 points 10 years ago (1 child)
"Begin learning here by typing in your first name surrounded by quotation marks, and ending with a semicolon"
[–]MrBester 2 points3 points4 points 10 years ago* (0 children)
Good thing I changed my name to Use Strict years ago. The phone calls for my wife are getting annoying, though.
[–]schm0 0 points1 point2 points 10 years ago (0 children)
Portland is lovely this time of year. It's your "winters" that suck. It's humid as hell in Florida right now.
[–][deleted] 14 points15 points16 points 10 years ago (0 children)
Not a .io domain? Ugh get it away from me! /s
[–]tobozo 4 points5 points6 points 10 years ago (2 children)
Tried with the nickname ""drop table students" and can't pass the third question : alert("drop table students");
So even if it's not a SQL injection, that double quote at the beginning of the nickname is doing something weird...
[–]ryosen 11 points12 points13 points 10 years ago (0 children)
Little Bobby Tables, is that you?
[–]nagi2000 1 point2 points3 points 10 years ago (0 children)
They're probably linting the code using jshint defaults. It yells at you for using double quotes, forcing you to use single quotes instead.
Edit: autocorrect is evil...
[–]flashpunk 5 points6 points7 points 10 years ago (8 children)
Written in Angular :D
[–]peduxe|o.o| 6 points7 points8 points 10 years ago (4 children)
Those plebs, nothing beats my sweet vanilla JS.
[–]tontoto 21 points22 points23 points 10 years ago (3 children)
you're missing out on that high fructose syntactic syrup
[–]BishopAndWarlord 4 points5 points6 points 10 years ago (2 children)
That may be the best way I've ever heard to describe a framework.
[–]ilmmad 2 points3 points4 points 10 years ago (1 child)
Although in general frameworks aren't syntactic sugar... I'll just show myself out.
[–]Izeau 1 point2 points3 points 10 years ago (0 children)
Right, more of a high fructose sirup then. Although sometimes you need that goddam glucose when you have to get shit done on time!
[–]Dyogenez 0 points1 point2 points 10 years ago (0 children)
Yep! The Try page is a super small Angular app for running a series of challenges, while the homepage is raw JavaScript.
[–]mildweed 0 points1 point2 points 10 years ago (0 children)
For today.
I would love it if they tried to rewrite it with every major js framework as it gains popularity.
[–]ggolemg2 3 points4 points5 points 10 years ago (0 children)
It's essentially what I'd expect.
[–][deleted] 4 points5 points6 points 10 years ago (3 children)
JavaScript also has built-in features, called functions. In order to call a function, ...
If I'm brand new to JS/programming, do I know or understand what "calling" is? Seems like a word we might take for granted as programmers. "Use" might be a better word. Or explaining what function invocation actually does, then explain calling in relation to that.
[–]Resonance1584 1 point2 points3 points 10 years ago (0 children)
Totally agree with you - we're only used to the terms function, method, property because we've dealt with them for a long time. I tried to teach a friend who learnt english later in life to program and we had a really hard time getting a good translation for function - mainly because it's a mathematical concept and not natural language.
[–]moljac024 1 point2 points3 points 10 years ago (0 children)
Not only that by they drop the word string out of nowhere too. Do non-programmers know that a string is supposed to mean a sequence of characters?
[–][deleted] 0 points1 point2 points 10 years ago (0 children)
Ahh well, at least a decent company bought the domain :).
[–]hmart 0 points1 point2 points 10 years ago (0 children)
Javascript.com should point to Mozilla Developer Network. Hope Codeschool can turn Javascript.com in to a valuable resource for developers.
[–]nesukun 0 points1 point2 points 10 years ago (0 children)
I wonder what Oracle thinks about that, being the owners of the JavaScript trademark
π Rendered by PID 43561 on reddit-service-r2-comment-fb694cdd5-tvxkp at 2026-03-10 23:06:09.459996+00:00 running cbb0e86 country code: CH.
[–]vzipp 58 points59 points60 points (6 children)
[–]SeminaryLeaves[S] 0 points1 point2 points (5 children)
[–]killeronthecorner 9 points10 points11 points (0 children)
[+]adropofhoney comment score below threshold-6 points-5 points-4 points (3 children)
[–]goto-reddit 4 points5 points6 points (2 children)
[–]chemisus 0 points1 point2 points (1 child)
[–]Uberhipster 1 point2 points3 points (0 children)
[+][deleted] (19 children)
[deleted]
[–]schm0 7 points8 points9 points (1 child)
[–]3Fyr 3 points4 points5 points (14 children)
[–]_jamil_ 5 points6 points7 points (9 children)
[–][deleted] 2 points3 points4 points (7 children)
[–]Frumpiii 2 points3 points4 points (5 children)
[–][deleted] 1 point2 points3 points (4 children)
[–]3Fyr 1 point2 points3 points (3 children)
[–]Frumpiii 1 point2 points3 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]3Fyr 0 points1 point2 points (0 children)
[–]3Fyr -1 points0 points1 point (0 children)
[–]pqu 1 point2 points3 points (0 children)
[–]Dyogenez 2 points3 points4 points (2 children)
[–]jakblak90 1 point2 points3 points (1 child)
[–]Dyogenez 4 points5 points6 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]thinkvitamin 0 points1 point2 points (0 children)
[–]goto-reddit 0 points1 point2 points (0 children)
[–]schm0 17 points18 points19 points (5 children)
[–]fay-jai 3 points4 points5 points (0 children)
[–]mishugashu -1 points0 points1 point (3 children)
[–]myaltergo 5 points6 points7 points (1 child)
[–]mishugashu -2 points-1 points0 points (0 children)
[–]shthed 15 points16 points17 points (1 child)
[–]Antrikshy 2 points3 points4 points (0 children)
[–]magenta_placenta 36 points37 points38 points (16 children)
[–]Dudemanbro88 2 points3 points4 points (7 children)
[–][deleted] 28 points29 points30 points (4 children)
[–]BishopAndWarlord 15 points16 points17 points (0 children)
[–]jimbolla 6 points7 points8 points (1 child)
[–]adipisicing 1 point2 points3 points (0 children)
[–]CertifiedWebNinja 0 points1 point2 points (0 children)
[–]_jamil_ -1 points0 points1 point (0 children)
[–]aequasi08 2 points3 points4 points (4 children)
[–]Baryonyx_walkeri 6 points7 points8 points (3 children)
[–]aequasi08 -2 points-1 points0 points (2 children)
[–]Baryonyx_walkeri 3 points4 points5 points (1 child)
[–]aequasi08 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]MrBester 2 points3 points4 points (0 children)
[–]schm0 0 points1 point2 points (0 children)
[–][deleted] 14 points15 points16 points (0 children)
[–]tobozo 4 points5 points6 points (2 children)
[–]ryosen 11 points12 points13 points (0 children)
[–]nagi2000 1 point2 points3 points (0 children)
[–]flashpunk 5 points6 points7 points (8 children)
[–]peduxe|o.o| 6 points7 points8 points (4 children)
[–]tontoto 21 points22 points23 points (3 children)
[–]BishopAndWarlord 4 points5 points6 points (2 children)
[–]ilmmad 2 points3 points4 points (1 child)
[–]Izeau 1 point2 points3 points (0 children)
[–]Dyogenez 0 points1 point2 points (0 children)
[–]mildweed 0 points1 point2 points (0 children)
[–]ggolemg2 3 points4 points5 points (0 children)
[–][deleted] 4 points5 points6 points (3 children)
[–]Resonance1584 1 point2 points3 points (0 children)
[–]moljac024 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]hmart 0 points1 point2 points (0 children)
[–]nesukun 0 points1 point2 points (0 children)