- nv-array-pop-with-index
- npm install nv-array-pop-with-index
const ary_ipop = require("nv-array-pop-with-index")
var arr=[1,2,3,4,5,6]
var rslt = ary_ipop(arr,2)
//rslt 3
//arr [ 1, 2, 4, 5, 6 ]
var arr=[1,2,3,4,5,6]
var rslt = ary_ipop(arr,100)
//rslt undefined
//arr [ 1, 2,3, 4, 5, 6 ]
- ary_ipop(arr,index)
- ISC