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

Version Path
immosquare-cleaner-0.1.32 node_modules/es-abstract/2016/EnumerableOwnNames.js
immosquare-cleaner-0.1.32 node_modules/es-abstract/2015/EnumerableOwnNames.js
immosquare-cleaner-0.1.31 node_modules/es-abstract/2016/EnumerableOwnNames.js
immosquare-cleaner-0.1.31 node_modules/es-abstract/2015/EnumerableOwnNames.js
immosquare-cleaner-0.1.30 node_modules/es-abstract/2016/EnumerableOwnNames.js
immosquare-cleaner-0.1.30 node_modules/es-abstract/2015/EnumerableOwnNames.js
immosquare-cleaner-0.1.29 node_modules/es-abstract/2016/EnumerableOwnNames.js
immosquare-cleaner-0.1.29 node_modules/es-abstract/2015/EnumerableOwnNames.js
immosquare-cleaner-0.1.28 node_modules/es-abstract/2016/EnumerableOwnNames.js
immosquare-cleaner-0.1.28 node_modules/es-abstract/2015/EnumerableOwnNames.js
immosquare-cleaner-0.1.27 node_modules/es-abstract/2015/EnumerableOwnNames.js
immosquare-cleaner-0.1.27 node_modules/es-abstract/2016/EnumerableOwnNames.js
immosquare-cleaner-0.1.26 node_modules/es-abstract/2015/EnumerableOwnNames.js
immosquare-cleaner-0.1.26 node_modules/es-abstract/2016/EnumerableOwnNames.js
immosquare-cleaner-0.1.25 node_modules/es-abstract/2016/EnumerableOwnNames.js
immosquare-cleaner-0.1.25 node_modules/es-abstract/2015/EnumerableOwnNames.js
immosquare-cleaner-0.1.24 node_modules/es-abstract/2015/EnumerableOwnNames.js
immosquare-cleaner-0.1.24 node_modules/es-abstract/2016/EnumerableOwnNames.js
immosquare-cleaner-0.1.23 node_modules/es-abstract/2015/EnumerableOwnNames.js
immosquare-cleaner-0.1.23 node_modules/es-abstract/2016/EnumerableOwnNames.js