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

    r0c6b92a r79a0317  
    55var $species = GetIntrinsic('%Symbol.species%', true);
    66var $TypeError = require('es-errors/type');
     7var isInteger = require('math-intrinsics/isInteger');
    78
    89var ArrayCreate = require('./ArrayCreate');
     
    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/12.0/#sec-arrayspeciescreate
     
    3232        //      Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(Array))) === null ?
    3333        // }
    34         if ($species && Type(C) === 'Object') {
     34        if ($species && isObject(C)) {
    3535                C = Get(C, $species);
    3636                if (C === null) {
Note: See TracChangeset for help on using the changeset viewer.