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

    r0c6b92a r79a0317  
    66var $species = GetIntrinsic('%Symbol.species%', true);
    77var $TypeError = require('es-errors/type');
     8var isInteger = require('math-intrinsics/isInteger');
    89
    910var Get = require('./Get');
    1011var IsArray = require('./IsArray');
    1112var IsConstructor = require('./IsConstructor');
    12 var Type = require('./Type');
    1313
    14 var isInteger = require('../helpers/isInteger');
     14var isObject = require('../helpers/isObject');
    1515
    1616// https://262.ecma-international.org/6.0/#sec-arrayspeciescreate
     
    3030                //      Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(Array))) === null ?
    3131                // }
    32                 if ($species && Type(C) === 'Object') {
     32                if ($species && isObject(C)) {
    3333                        C = Get(C, $species);
    3434                        if (C === null) {
Note: See TracChangeset for help on using the changeset viewer.