Challenge Manipulate Arrays With Shift - thelastmile/FreeCodeCamp GitHub Wiki
Challenge Manipulate Arrays With shift()
shift()
removes the first element unlike pop()
which removes the last.
shift()
removes the first element unlike pop()
which removes the last.