— Now the real juicy question... will this custom implementation be faster thsn shift and pop
All it does is change which index is considered "zero", and also length, without changing the 0 index or length of the unerlying array
— I'm guessing the custom one is faster.
— One could also use a custom object or class, but Proxy lets you use accessor brackets
— Hard question
— How was using Proxy?
— On this blessed day
— I wound up putting most functionality in the handler object
— I'd like to extend Proxy.prototype so I can just do new Stack(); etc...