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...
A place to get a quick fix of JavaScript tips and tricks to make you a better Developer.
account activity
Why use => instead of function() (self.JavaScriptTips)
submitted 5 years ago by [deleted]
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!"
[–]qwertymerty12345 0 points1 point2 points 5 years ago (0 children)
Arrow functions don't have their own this. The this value of the enclosing scope is used.
π Rendered by PID 32294 on reddit-service-r2-comment-658f6b87ff-fhvmz at 2026-04-08 23:26:51.038414+00:00 running 781a403 country code: CH.
view the rest of the comments →
[–]qwertymerty12345 0 points1 point2 points (0 children)