0.0.1 • Published 7 years ago
circum v0.0.1
circum
A positive array index for any number.
Install
$ npm install --save circum
Usage
const circum = require('circum');
circum([1,2,3], -2);
//=> 1
API
circum(arr, index)
arr
Type: array
index
Type: number
License
MIT © Michael Chan
0.0.1
7 years ago