insertBefore() Example 1 insertBefore() Example 1 This example defines an array [2,5,9] then adds numbers into various positions in the array.
This example defines an array [2,5,9] then adds numbers into various positions in the array.