Object.keys

Syntax

keys(o): string[];

Parameters

o. JSON object.

Description

The keys method returns array of method and properties names for the specified object.

See also:

Object