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/CreateListFromArrayLike.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var callBound = require('call-bind/callBound');
     3var callBound = require('call-bound');
    44
    55var $TypeError = require('es-errors/type');
     
    1313var Type = require('./Type');
    1414
     15var isObject = require('../helpers/isObject');
     16
    1517var defaultElementTypes = ['Undefined', 'Null', 'Boolean', 'String', 'Symbol', 'Number', 'BigInt', 'Object'];
    1618
     
    2224                : defaultElementTypes;
    2325
    24         if (Type(obj) !== 'Object') {
     26        if (!isObject(obj)) {
    2527                throw new $TypeError('Assertion failed: `obj` must be an Object');
    2628        }
Note: See TracChangeset for help on using the changeset viewer.