Ignore:
Timestamp:
01/21/25 03:08:24 (3 days ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
0c6b92a
Message:

F4 Finalna Verzija

File:
1 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/es-abstract/2020/AsyncFromSyncIteratorContinuation.js

    r0c6b92a r79a0317  
    77var $Promise = GetIntrinsic('%Promise%', true);
    88
    9 var callBound = require('call-bind/callBound');
     9var callBound = require('call-bound');
    1010
    1111var CreateIterResultObject = require('./CreateIterResultObject');
     
    1313var IteratorValue = require('./IteratorValue');
    1414var PromiseResolve = require('./PromiseResolve');
    15 var Type = require('./Type');
     15
     16var isObject = require('../helpers/isObject');
    1617
    1718var $then = callBound('Promise.prototype.then', true);
     
    2021
    2122module.exports = function AsyncFromSyncIteratorContinuation(result) {
    22         if (Type(result) !== 'Object') {
     23        if (!isObject(result)) {
    2324                throw new $TypeError('Assertion failed: Type(O) is not Object');
    2425        }
Note: See TracChangeset for help on using the changeset viewer.