Skip to content

namshi/js-array-into-object

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

array-into-object

Build Status

Converts an array into an object -- where odd values are keys, and even values are values.

Confused?

let a2o = require('array-into-object')

a2o([1, 2, 3, 4]) // {1: 2, 3: 4}

About

Convert an array into an object (odd entries are keys, even entries are values)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published