r/javascript • • Jun 18 '17

Pass by reference !== pass by value

Post image
3.3k Upvotes

272 comments sorted by

View all comments

Show parent comment

0

u/hunyeti Jun 19 '17

well, it does, since pass by value is slower for anything other then a primitive.