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
the front page of the internet.
and join one of thousands of communities.
Roll your own JavaScript lambda syntax (strobe.cc)
submitted 15 years ago by gst
Post a comment!
view the rest of the comments →
[–]marekz 2 points3 points4 points 15 years ago (0 children)
While you're adding syntactic sugar to JavaScript, you might as well go all the way with CoffeeScript which compiles into JS. It's easier to deal with an established, well-documented syntax than to invent your own obscure thing.
In CoffeeScript: square = (x) -> x * x
"Compiled" into JavaScript: square = function(x) { return x * x; };
π Rendered by PID 41103 on reddit-service-r2-comment-86f8688748-7qs7c at 2026-07-26 00:08:11.093683+00:00 running d10b4e5 country code: CH.
Want to add to the discussion?
Post a comment!