Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-abstract/2024/GetOwnPropertyKeys.js
r0c6b92a r79a0317 11 11 var keys = require('object-keys'); 12 12 13 var esType = require('./Type');13 var isObject = require('../helpers/isObject'); 14 14 15 15 // https://262.ecma-international.org/6.0/#sec-getownpropertykeys 16 16 17 17 module.exports = function GetOwnPropertyKeys(O, Type) { 18 if ( esType(O) !== 'Object') {18 if (!isObject(O)) { 19 19 throw new $TypeError('Assertion failed: Type(O) is not Object'); 20 20 }
Note:
See TracChangeset
for help on using the changeset viewer.