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/2016/IteratorNext.js

    r0c6b92a r79a0317  
    44
    55var Invoke = require('./Invoke');
    6 var Type = require('./Type');
     6
     7var isObject = require('../helpers/isObject');
    78
    89// https://262.ecma-international.org/6.0/#sec-iteratornext
     
    1011module.exports = function IteratorNext(iterator, value) {
    1112        var result = Invoke(iterator, 'next', arguments.length < 2 ? [] : [value]);
    12         if (Type(result) !== 'Object') {
     13        if (!isObject(result)) {
    1314                throw new $TypeError('iterator next must return an object');
    1415        }
Note: See TracChangeset for help on using the changeset viewer.