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/2022/IteratorComplete.js

    r0c6b92a r79a0317  
    55var Get = require('./Get');
    66var ToBoolean = require('./ToBoolean');
    7 var Type = require('./Type');
     7
     8var isObject = require('../helpers/isObject');
    89
    910// https://262.ecma-international.org/6.0/#sec-iteratorcomplete
    1011
    1112module.exports = function IteratorComplete(iterResult) {
    12         if (Type(iterResult) !== 'Object') {
     13        if (!isObject(iterResult)) {
    1314                throw new $TypeError('Assertion failed: Type(iterResult) is not Object');
    1415        }
Note: See TracChangeset for help on using the changeset viewer.