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/2024/SortIndexedProperties.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var callBound = require('call-bind/callBound');
    4 
    53var $TypeError = require('es-errors/type');
     4var callBound = require('call-bound');
     5var isInteger = require('math-intrinsics/isInteger');
    66
    77var Get = require('./Get');
    88var HasProperty = require('./HasProperty');
    99var ToString = require('./ToString');
    10 var Type = require('./Type');
    1110
    1211var isAbstractClosure = require('../helpers/isAbstractClosure');
    13 var isInteger = require('../helpers/isInteger');
     12var isObject = require('../helpers/isObject');
    1413
    1514var $push = callBound('Array.prototype.push');
     
    1918
    2019module.exports = function SortIndexedProperties(obj, len, SortCompare, holes) {
    21         if (Type(obj) !== 'Object') {
     20        if (!isObject(obj)) {
    2221                throw new $TypeError('Assertion failed: Type(obj) is not Object');
    2322        }
Note: See TracChangeset for help on using the changeset viewer.