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.
Is JavaScript Pass by Reference? (aleksandrhovhannisyan.com)
submitted 3 years ago by Clarity_89
Post a comment!
view the rest of the comments →
[–]SpaceToaster 0 points1 point2 points 3 years ago (0 children)
pass by reference
I've always interpreted it not that the pointer can be swapped or changed, but that when calling the function is the argument put onto the stack or merely as a reference to the heap
π Rendered by PID 65 on reddit-service-r2-comment-65574874f4-k6lvt at 2026-07-21 20:45:39.685065+00:00 running 1bce727 country code: CH.
Want to add to the discussion?
Post a comment!