Re:Javascript Pointers
by boucher on Monday May 09, 2011 @02:44PM
(#2529730)
It's not exactly fair to call either technique pointers, but the original could be useful for more things than just this (though this is probably the intended use case).
The linked article, however, makes no sense. The author does not seem to understand how JavaScript works. Arrays are not copied when passed to another function.
The linked article, however, makes no sense. The author does not seem to understand how JavaScript works. Arrays are not copied when passed to another function.