Object.dissect >= 0.1.2

Purpose

Like Object.divide, but key and value both become properties

Syntax

Object.dissect ( Objectobj );

Parameters

obj

Return values

Array

Examples

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

Object.dissect(obj);
>>> [{"key":"one","value":1},{"key":"two","value":2}]

Comments

Amado

Can you tell me what platform are you making use of on this internet site?

Jann

Hi there! Such a nice article, thank you!