MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/6vklk9/10_javascript_concepts_you_need_to_know_for/dm1vaqb
r/javascript • u/bhalp1 • Aug 23 '17
118 comments sorted by
View all comments
Show parent comments
1
In the third case, are you passing any information beyond a memory address?
1 u/BB611 Aug 24 '17 Nope, both cases 2 and 3 just pass a memory address.The difference is that case 2 passes a copy, and case 3 passes the real deal.
Nope, both cases 2 and 3 just pass a memory address.
The difference is that case 2 passes a copy, and case 3 passes the real deal.
1
u/Carnilawl Aug 24 '17
In the third case, are you passing any information beyond a memory address?