First commit

This commit is contained in:
2025-01-15 19:28:55 +01:00
committed by andreas
commit 5d4c4a054e
18475 changed files with 3309357 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
'use strict';
var GetIntrinsic = require('../GetIntrinsic');
var $TypeError = GetIntrinsic('%TypeError%');
var keys = require('object-keys');
var Type = require('./Type');
// https://www.ecma-international.org/ecma-262/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);
};