Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jordache
on Jan 25, 2018
|
parent
|
context
|
favorite
| on:
Deep-copying in JavaScript
Don't know why you are being down voted. The author claimed EVERYTHING is pass by reference, which is false.
williamdclt
on Jan 25, 2018
[–]
It's not even close,
nothing
is passed by reference!
jordache
on Jan 25, 2018
|
parent
[–]
objects? I don't care about low level engine implementation details. I'm saying from the dev's perspective, it's effectively pass by reference.
pjmlp
on Jan 25, 2018
|
root
|
parent
[–]
It is only pass by reference if what ends up in the call stack is the address of the actual variable on the caller side, not what it points to.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: