array The array to act on
elem The new element
idx The index of the element to add before
Add (in-place) an element before position idx
Array.push(3kaya) is equivalent to idx = size(array)
Array.unshift(3kaya) is equivalent to idx = 0
Signing in to our system allows you to post your contributions and vote on the contributions of others. It will also allow you to get extra perts like having your favorites in the cloud and having your persistent personal notes wherever you go. More will be added as we scale up our services.
By signing in to our system, you agree our Member Terms and Conditions
Sign-in with one of the following services
Please select a screen name for NET SOUP.