Object.divide >= 0.1.0

Purpose

Create a new object for every key-value and wrap them in an array

Syntax

Object.divide ( Objectobj );

Parameters

obj

Return values

Array

Examples

var obj = {
	one: 1,
	two: 2,
	three: 3
};

Object.divide(obj);
>>> [{"one":1},{"two":2},{"three":3}]

Comments