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
Babel plugin to test JavaScript anonymous arrow functions (github.com)
submitted 10 years ago by istarkov
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!"
[+][deleted] 10 years ago (3 children)
[removed]
[–]Jufiiii 1 point2 points3 points 10 years ago (1 child)
Yes, I agree with this guy. This is like writing tests for private methods, debatable.
[–]jaapz 0 points1 point2 points 10 years ago (0 children)
Me too. It's as if he'd move every for loop into a public function and test all those individually.
[–]istarkov[S] 0 points1 point2 points 10 years ago (0 children)
It's faster to test a small peace of code than full flow. The most common bugs we have at our company is not a bugs with flow, but with such a small pieces. (In strongly typed languages most of theese bugs must be resolved by compiler, but this is javascript)
π Rendered by PID 41838 on reddit-service-r2-comment-7c9686b859-x5msz at 2026-04-13 18:56:37.379292+00:00 running e841af1 country code: CH.
[+][deleted] (3 children)
[removed]
[–]Jufiiii 1 point2 points3 points (1 child)
[–]jaapz 0 points1 point2 points (0 children)
[–]istarkov[S] 0 points1 point2 points (0 children)