Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-abstract/2024/GetIterator.js
r0c6b92a r79a0317 14 14 var GetMethod = require('./GetMethod'); 15 15 var IsArray = require('./IsArray'); 16 17 var ES = { 18 AdvanceStringIndex: AdvanceStringIndex, 19 GetMethod: GetMethod, 20 IsArray: IsArray 21 }; 16 22 17 23 var getIteratorMethod = require('../helpers/getIteratorMethod'); … … 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.