Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-abstract/2023/GetIterator.js
r0c6b92a r79a0317 17 17 var getIteratorMethod = require('../helpers/getIteratorMethod'); 18 18 19 var ES = { 20 AdvanceStringIndex: AdvanceStringIndex, 21 GetMethod: GetMethod, 22 IsArray: IsArray 23 }; 24 19 25 // https://262.ecma-international.org/14.0/#sec-getiterator 20 26 … … 32 38 if (typeof method === 'undefined') { // step 1.b 33 39 // var syncMethod = GetMethod(obj, $iterator); // step 1.b.i 34 var syncMethod = getIteratorMethod( 35 { 36 AdvanceStringIndex: AdvanceStringIndex, 37 GetMethod: GetMethod, 38 IsArray: IsArray 39 }, 40 obj 41 ); 40 var syncMethod = getIteratorMethod(ES, obj); 42 41 if (kind === 'async') { 43 42 if (typeof syncMethod === 'undefined') {
Note:
See TracChangeset
for help on using the changeset viewer.