README
Array.prototype.remove
download:
npm install arr.remove-value --save
use:
require('arr.remove-value');
var array = [1, 2, 3, 4, 5];
array.remove(1, 5, 12);
console.log(array);
output
[2, 3, 4]
remove elements in array by value
<script type="module">
import arrRemoveValue from 'https://cdn.skypack.dev/arr.remove-value';
</script>
npm install arr.remove-value --save
require('arr.remove-value');
var array = [1, 2, 3, 4, 5];
array.remove(1, 5, 12);
console.log(array);
output
[2, 3, 4]