
JSJ 474: Things JavaScript Developers Should Know, Part 1
JavaScript Jabber
00:00
Dobasco Bugs
A common side effect of passing by reference is changing the order of execution of different things within let's say, your file. So if you have something like on line five that's doing something, and you decide to move that down later on in the file, suddenly what you're expecting to be there isn't necessarily there. And i've seen a lot of cases in which functions modify objects that they don't really own.
Play episode from 06:16
Transcript


