News for hackers. Stuff that matters.
Re:Deep-copying in JavaScript by jordache on Thursday January 25, 2018 @02:47PM (#16233951)
Don't know why you are being down voted. The author claimed EVERYTHING is pass by reference, which is false.
Re:Deep-copying in JavaScript by williamdclt on Thursday January 25, 2018 @03:33PM (#16234373)
It's not even close, nothing is passed by reference!
Re:Deep-copying in JavaScript by jordache on Thursday January 25, 2018 @04:24PM (#16234805)
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.
Re:Deep-copying in JavaScript by pjmlp on Thursday January 25, 2018 @05:20PM (#16235256)
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.