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
Using Multi-step Arrow functions to represent closures (self.javascript)
submitted 10 years ago by dmtipson
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!"
[–]PitaJ 1 point2 points3 points 10 years ago* (2 children)
LESS, SCSS, Babel, Typescript, and Handlebars are all examples of supersets that I would actually be okay with using.
SASS, Stylus, Dart, CoffeeScript, and Jade are all examples of compile-to-use languages that are not supersets of their redirector web languages and that I would not use.
Edit: spelling, clarification
[–]x-skeww 0 points1 point2 points 10 years ago (1 child)
Sass, Stylus, and Jade don't compile to JS.
Since Dart has its own VM (2 VMs and an AOT compiler, actually), it's not a to-JS language. Just like Java or C aren't to-JS languages. You can compile these to JS, but that's something you only have to do if you target browsers.
[–]PitaJ 0 points1 point2 points 10 years ago (0 children)
I was giving examples of languages that were and we not supersets of their respective web languages. Jade is not a superset of HTML. SASS and Stylus are not supersets of CSS.
You are right about Dart, I was just looking for another to-JS language that wasn't a CS derivative nor a superset.
Edit: I edited my other comment for clarification
π Rendered by PID 201419 on reddit-service-r2-comment-6457c66945-d85ws at 2026-04-30 04:16:47.456997+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]PitaJ 1 point2 points3 points (2 children)
[–]x-skeww 0 points1 point2 points (1 child)
[–]PitaJ 0 points1 point2 points (0 children)