npm

npm’s 2019 JavaScript ecosystem survey analysis is now available!Get your copy here »

array-splice

0.1.1 • Public • Published

array-splice

Javascript's Array.splice() method is fucking useless.

Usage: var parent = [1,2,99,5,6] var splice = [3,4] var removed = array-splice.splice(parent,2,1,splice)

Now: parent = [1,2,3,4,5,6] removed = [99]

Keywords

none

install

npm i array-splice

Downloadsweekly downloads

3

version

0.1.1

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability