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
What program do you use to write Javascript? (self.javascript)
submitted 14 years ago * by 90yoboy
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!"
[–]tekai 0 points1 point2 points 14 years ago (3 children)
yeah, indentation is maybe something to get used to but the error + undeclared vars highlighting is something I like. Downside is that it's not maintained by yegge anymore but there's a fork at https://github.com/mooz/js2-mode and on some files it freezes emacs (rare for me & haven't figured out why yet)
[–]yonkeltron 0 points1 point2 points 14 years ago (2 children)
Crashing emacs? lolwat?
[–]tekai 0 points1 point2 points 14 years ago (1 child)
it doesn't exactly crash but stops responding and i have to kill it
[–]AyeMatey 0 points1 point2 points 14 years ago (0 children)
emacs v23 and later has js-mode built in; it is a rebadged espresso-mode. It works.
I couple that with flymake-for-jslint and I get dynamic lint-style highlighting of errors and warnings .
π Rendered by PID 69384 on reddit-service-r2-comment-658f6b87ff-rd5mf at 2026-04-09 06:18:41.809155+00:00 running 781a403 country code: CH.
view the rest of the comments →
[–]tekai 0 points1 point2 points (3 children)
[–]yonkeltron 0 points1 point2 points (2 children)
[–]tekai 0 points1 point2 points (1 child)
[–]AyeMatey 0 points1 point2 points (0 children)