Server IP : 162.213.251.212 / Your IP : 3.147.71.67 [ Web Server : LiteSpeed System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : allssztx ( 535) PHP Version : 8.1.31 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/allssztx/www/easybuyer/node_modules/es-abstract/2019/ |
Upload File : |
'use strict'; var GetIntrinsic = require('get-intrinsic'); var hasSymbols = require('has-symbols')(); var $TypeError = GetIntrinsic('%TypeError%'); var $gOPN = GetIntrinsic('%Object.getOwnPropertyNames%', true); var $gOPS = hasSymbols && GetIntrinsic('%Object.getOwnPropertySymbols%', true); var keys = require('object-keys'); var esType = require('./Type'); // https://ecma-international.org/ecma-262/6.0/#sec-getownpropertykeys module.exports = function GetOwnPropertyKeys(O, Type) { if (esType(O) !== 'Object') { throw new $TypeError('Assertion failed: Type(O) is not Object'); } if (Type === 'Symbol') { return $gOPS ? $gOPS(O) : []; } if (Type === 'String') { if (!$gOPN) { return keys(O); } return $gOPN(O); } throw new $TypeError('Assertion failed: `Type` must be `"String"` or `"Symbol"`'); };