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