nv-array-pop-with-index

1.0.0 • Public • Published

nv-array-pop-with-index

  • nv-array-pop-with-index

install

  • npm install nv-array-pop-with-index

usage

example

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 ]

API

  • ary_ipop(arr,index)

LICENSE

  • ISC

Readme

Keywords

none

Package Sidebar

Install

npm i nv-array-pop-with-index

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

941 B

Total Files

3

Last publish

Collaborators

  • ihgazni2