Compare Revisions

Object.getOwnPropertyNames()

Change Revisions

Revision 16128:

Revision 16128 by evilpie on

Revision 16129:

Revision 16129 by JamesWatts on

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

Revision 16128
Revision 16129
n20            Method of <a href="/en/JavaScript/Reference/Global_Obn20            Method of <a href="/en/JavaScript/Reference/Global_Ob
>jects/Object"><code>Object</code></a>>jects/Object" title="en/JavaScript/Reference/Global_Objects/Objec
 >t"><code>Object</code></a>
n57        The object whose enumerable own properties are to be retun57        The object whose enumerable <em>and non-enumerable</em> o
>rned.>wn properties are to be returned.
t84      If you want only the enumerable properties, see <a href="/et84      If you want only the enumerable properties, see <a href="/e
>n/JavaScript/Reference/Global_Objects/Object/keys" title="en/Core>n/JavaScript/Reference/Global_Objects/Object/keys" title="en/Core
> JavaScript 1.5 Reference/Global Objects/Object/keys">Object.keys> JavaScript 1.5 Reference/Global Objects/Object/keys">Object.keys
></a> or use a <a href="/en/JavaScript/Reference/Statements/for...></a> or use a <a href="/en/JavaScript/Reference/Statements/for...
>in" title="en/Core JavaScript 1.5 Reference/Statements/for...in">>in" title="en/Core JavaScript 1.5 Reference/Statements/for...in">
>for...in loop</a>&nbsp;(although note that this will return enume>for...in loop</a>&nbsp;(although note that this will return enume
>rable properties not found directly upon that object but along th>rable properties not found directly upon that object but also alo
>e prototype chain for the object).>ng the prototype chain for the object).

Back to History