Sha256: b2ec64d96b16d6990414e602bc050a2ce82c4f6c9c078fc1044a3b4dcdb95e50
Contents?: true
Size: 412 Bytes
Versions: 54
Compression:
Stored size: 412 Bytes
Contents
'use strict'; var GetIntrinsic = require('get-intrinsic'); var $TypeError = GetIntrinsic('%TypeError%'); var keys = require('object-keys'); var Type = require('./Type'); // https://262.ecma-international.org/6.0/#sec-enumerableownnames module.exports = function EnumerableOwnNames(O) { if (Type(O) !== 'Object') { throw new $TypeError('Assertion failed: Type(O) is not Object'); } return keys(O); };
Version data entries
54 entries across 27 versions & 2 rubygems