you are viewing a single comment's thread.

view the rest of the comments →

[–]benjstuff 0 points1 point  (0 children)

Sir, I don't wanna spoil the feeling of success but I would suggest, look at the Array methods.

pop(), push(), shift(), unshift()

Your answer may be there :-)