add pop, shift, unshift to STArray
hdgarrood opened this issue · 1 comments
hdgarrood commented
Just like the methods of the same names on a JS Array:
popremoves the last item of an array and returns that itemshiftremoves the first item of an array and returns that itemunshifttakes an item and sets it as the first element of the array, shifting everything else along by 1
klntsky commented
I'm going to implement this. Should I add unshiftAll as well, similar to pushAll?