Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-abstract/2018/SetIntegrityLevel.js
r0c6b92a r79a0317 14 14 var IsAccessorDescriptor = require('./IsAccessorDescriptor'); 15 15 var ToPropertyDescriptor = require('./ToPropertyDescriptor'); 16 var Type = require('./Type'); 16 17 var isObject = require('../helpers/isObject'); 17 18 18 19 // https://262.ecma-international.org/6.0/#sec-setintegritylevel 19 20 20 21 module.exports = function SetIntegrityLevel(O, level) { 21 if ( Type(O) !== 'Object') {22 if (!isObject(O)) { 22 23 throw new $TypeError('Assertion failed: Type(O) is not Object'); 23 24 }
Note:
See TracChangeset
for help on using the changeset viewer.