Compare Revisions

Object.keys()

Change Revisions

Revision 15256:

Revision 15256 by evilpie on

Revision 15257:

Revision 15257 by DavidDurman on

Title:
keys
keys
Slug:
JavaScript/Reference/Global_Objects/Object/keys
JavaScript/Reference/Global_Objects/Object/keys
Tags:
javascript, "JavaScript 1.8.5", ECMAScript5
javascript, "JavaScript 1.8.5", ECMAScript5
Content:

Revision 15256
Revision 15257
nn10    <h3 name="Summary">
11      Summary
12    </h3>
n11      Returns an array of all own enumerable properties found upon14      Returns an array of all own enumerable properties found upo
>n a given object, in the same order as that provided by a <a href>n a given object, in the same order as that provided by a <a href
>="/en/JavaScript/Reference/Statements/for...in" rel="internal"><c>="/en/JavaScript/Reference/Statements/for...in" title="en/JavaScr
>ode>for-in</code></a> loop (the difference being that a for-in lo>ipt/Reference/Statements/for...in"><code>for-in</code></a> loop (
>op enumerates properties in the prototype chain as well).>the difference being that a for-in loop enumerates properties in 
 >the prototype chain as well).
n13    <table class="standard-table">n16    <table class="fullwidth-table">
14      <thead>
15        <tr>
16          <th class="header" colspan="2">
17            Method of <a href="/en/JavaScript/Reference/Global_Ob
>jects/Object"><code>Object</code></a> 
18          </th>
19        </tr>
20      </thead>
n23          <td>n19          <td class="header" colspan="2">
24            Implemented in20            Method of <a href="/en/JavaScript/Reference/Global_Ob
 >jects/Object" title="en/JavaScript/Reference/Global_Objects/Objec
 >t">Object</a>
25          </td>
26          <td>
27            1.8.5
n32            ECMAScript Editionn25            Implemented in:
tt28            JavaScript 1.8.5
29          </td>
30        </tr>
31        <tr>
32          <td>
35            ECMAScript 5th Edition33            ECMAScript Edition:
34          </td>
35          <td>
36            ECMA-262 5th Edition

Back to History