UNPKG

@extra-array/remove

Version:
5 lines (3 loc) 84 B
const array = require("extra-array"); var x = [1, 2, 3, 4, 5]; array.remove(x, 2);