hfour / yads

An array-like data structure with a monoidal cache
8 stars 4 forks source link

EDI-1619 Modify MArray.splice #26

Closed mar-h4 closed 3 years ago

mar-h4 commented 3 years ago

The MArray.splice() method is modified to match the Array.splice implementation (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice) and tests are added to confirm the behavior. An edge-case in the tree-utils remove method is also fixed.

Task: EDI-1619