Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-abstract/2024/IteratorNext.js
r0c6b92a r79a0317 4 4 5 5 var Call = require('./Call'); 6 var Type = require('./Type');7 6 7 var isObject = require('../helpers/isObject'); 8 8 var isIteratorRecord = require('../helpers/records/iterator-record'); 9 9 … … 22 22 } 23 23 24 if ( Type(result) !== 'Object') {24 if (!isObject(result)) { 25 25 throw new $TypeError('iterator next must return an object'); // step 3 26 26 }
Note:
See TracChangeset
for help on using the changeset viewer.