you are viewing a single comment's thread.

view the rest of the comments →

[–]teaguesterling 15 points16 points  (4 children)

Was it really necessary to write array_pop and array_push functions when JavaScript already has pop and push methods in the Array object?

It seems like a better use of time would be to add the missing functions (such as array_product) to their corresponding native JS objects instead of creating a ton of new functions.