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/2023/IteratorClose.js

    r0c6b92a r79a0317  
    77var GetMethod = require('./GetMethod');
    88var IsCallable = require('./IsCallable');
    9 var Type = require('./Type');
    109
     10var isObject = require('../helpers/isObject');
    1111var isIteratorRecord = require('../helpers/records/iterator-record-2023');
    1212
     
    1717                throw new $TypeError('Assertion failed: `iteratorRecord` must be an Iterator Record'); // step 1
    1818        }
    19         if (Type(iteratorRecord['[[Iterator]]']) !== 'Object') {
     19        if (!isObject(iteratorRecord['[[Iterator]]'])) {
    2020                throw new $TypeError('Assertion failed: iteratorRecord.[[Iterator]] must be an Object'); // step 1
    2121        }
     
    5555        completionThunk = null; // ensure it's not called twice.
    5656
    57         if (Type(innerResult) !== 'Object') {
     57        if (!isObject(innerResult)) {
    5858                throw new $TypeError('iterator .return must return an object');
    5959        }
Note: See TracChangeset for help on using the changeset viewer.