odd-array

v1.0.1
returns an array with items oddly indexed in the array inputted
odd array

Install

$ npm install --save odd-array

Usage

var odd = require('odd-array');

console.log(odd(['even','not-even','even','not-even']));
//=> not-even not-even

API

odd(array)

array

Type: array

returns an array with items oddly indexed in the array inputted, note that arrays are 0 indexed.

License

MIT ©Maximilian Lloyd

npm i odd-array

Metadata

  • MIT
  • Whatever
  • Maximilian Lloyd
  • released 7/15/2015

Downloads

Maintainers