3 ms·
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 u
by boucher 15y ago
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.