kitsonk/dojo — comment on commit c3db298997eae6d7ef542554c6cbfd3facec0519
File: parser.js line 64
By wkeese:

But you are modifying the array passed into _getCtor()... so the _getCtor() function has side effects. Then if (for example _getCtor()) is called again it won't work because you've lost the original array. That's what I'm worried about.