7 lines
No EOL
182 B
JavaScript
Executable file
7 lines
No EOL
182 B
JavaScript
Executable file
export function arrRemove(arr, item) {
|
|
if (arr) {
|
|
var index = arr.indexOf(item);
|
|
0 <= index && arr.splice(index, 1);
|
|
}
|
|
}
|
|
//# sourceMappingURL=arrRemove.js.map
|