* The base implementation of `_.pullAt` without support for individual * index arguments and capturing the removed elements. * * @private * @param {Array} array The array to modify. * @param {number[]} indexes The indexes of elements to remove. * @returns {Array} Return
(array, indexes)
| 4038 | * @returns {Array} Returns `array`. |
| 4039 | */ |
| 4040 | function basePullAt(array, indexes) { |
| 4041 | var length = indexes.length; |
| 4042 | while (length--) { |
| 4043 | var index = parseFloat(indexes[length]); |
| 4044 | if (index != previous && isIndex(index)) { |
| 4045 | var previous = index; |
| 4046 | splice.call(array, index, 1); |
| 4047 | } |
| 4048 | } |
| 4049 | return array; |
| 4050 | } |
| 4051 | |
| 4052 | /** |
| 4053 | * The base implementation of `_.random` without support for argument juggling |
no test coverage detected