Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-abstract/2016/EnumerableOwnNames.js
r0c6b92a r79a0317 5 5 var keys = require('object-keys'); 6 6 7 var Type = require('./Type');7 var isObject = require('../helpers/isObject'); 8 8 9 9 // https://262.ecma-international.org/6.0/#sec-enumerableownnames 10 10 11 11 module.exports = function EnumerableOwnNames(O) { 12 if ( Type(O) !== 'Object') {12 if (!isObject(O)) { 13 13 throw new $TypeError('Assertion failed: Type(O) is not Object'); 14 14 }
Note:
See TracChangeset
for help on using the changeset viewer.