mozilla

Compare Revisions

Object.keys()

Change Revisions

Revision 15252:

Revision 15252 by evilpie on

Revision 15253:

Revision 15253 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 15252
Revision 15253
t90if(!Object.keys) Object.keys = function(o){var ret=[],p;t90if(!Object.keys) Object.keys = function(o){
91 if (Object.prototype.toString.call(o) !== '[object Object]' || o
 > === null || o === undefined)
92      throw new TypeError('Object.keys called on non-object');
93 var ret=[],p;

Back to History