remove() Example 1 remove() Example 1 This example defines an array [2,5,9] then removes numbers until only one item is left in the array.
This example defines an array [2,5,9] then removes numbers until only one item is left in the array.