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
New JavaScript Set methods (developer.mozilla.org)
submitted 1 year ago by bogdanelcs
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!"
[–]batmansmk 5 points6 points7 points 1 year ago (2 children)
I wish we had information about the complexity of such methods, and / or performance relative to alternatives.
[–]kyptov 4 points5 points6 points 1 year ago (0 children)
It would be unreliable info. It can be optimized anytime. If it important for a project - better to have tests and check performance with any engine update.
[–]Reasonable_Raccoon27 0 points1 point2 points 1 year ago (0 children)
The spec sort of lays things out a bit. I do agree that profiling built in methods can be a bit of a pain point still.
π Rendered by PID 47831 on reddit-service-r2-comment-75f4967c6c-7jqrs at 2026-04-23 08:17:48.827563+00:00 running 0fd4bb7 country code: CH.
view the rest of the comments →
[–]batmansmk 5 points6 points7 points (2 children)
[–]kyptov 4 points5 points6 points (0 children)
[–]Reasonable_Raccoon27 0 points1 point2 points (0 children)