Skip to content

removes an index of an array, using array splice and concat, returns new array, only works on deduped arrays

Notifications You must be signed in to change notification settings

Med116/array_remove_index

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

array_remove_index

removes an index of an array, using array splice and concat, returns new array, only works on deduped arrays

#install

npm install remove_array_index

#example use

var arrayRemoveIndex = require("remove_array_index");

var arr = ["a","b","c"];

var newArr = arrayRemoveIndex(arr,indexOf("b"))

console.log(newArr);

> ["a","c"]

About

removes an index of an array, using array splice and concat, returns new array, only works on deduped arrays

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published