This is the continuation of #199, which will be merged together with the current PR. @acarrau will get the credit for his past work.
I have added the following changes:
Updated the test code to present infrastructure.
Relaxed the restriction that the first argument must be an array. The implementation is based on Array.prototype.splice, which works on any array-like object; I have adapted the type check accordingly.
Added documentation.
@carpben @mafiosso @sktguha @yashshah1 a review by one of you would be welcome.
This is the continuation of #199, which will be merged together with the current PR. @acarrau will get the credit for his past work.
I have added the following changes:
Array.prototype.splice
, which works on any array-like object; I have adapted the type check accordingly.@carpben @mafiosso @sktguha @yashshah1 a review by one of you would be welcome.