-
Notifications
You must be signed in to change notification settings - Fork 737
Open
Description
Hi. NIce set of questions, kudos to you for maintaining it for free.
I think the solution is that JS should be pass by value because even objects are references which are passed by value (by the reference itself). A new reference is not created like in C++ (using & operator) [0].
[0] https://stackoverflow.com/questions/518000/is-javascript-a-pass-by-reference-or-pass-by-value-language. Check the top answer
Metadata
Metadata
Assignees
Labels
No labels