(array, index)
| 2359 | } |
| 2360 | ts.orderedRemoveItemAt = orderedRemoveItemAt; |
| 2361 | function unorderedRemoveItemAt(array, index) { |
| 2362 | // Fill in the "hole" left at `index`. |
| 2363 | array[index] = array[array.length - 1]; |
| 2364 | array.pop(); |
| 2365 | } |
| 2366 | ts.unorderedRemoveItemAt = unorderedRemoveItemAt; |
| 2367 | /** Remove the *first* occurrence of `item` from the array. */ |
| 2368 | function unorderedRemoveItem(array, item) { |
no test coverage detected
searching dependent graphs…