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/2022/AddToKeptObjects.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var callBound = require('call-bind/callBound');
     3var callBound = require('call-bound');
    44var SLOT = require('internal-slot');
    55
     
    77
    88var ClearKeptObjects = require('./ClearKeptObjects');
    9 var Type = require('./Type');
     9
     10var isObject = require('../helpers/isObject');
    1011
    1112var $push = callBound('Array.prototype.push');
     
    1415
    1516module.exports = function AddToKeptObjects(object) {
    16         if (Type(object) !== 'Object') {
     17        if (!isObject(object)) {
    1718                throw new $TypeError('Assertion failed: `object` must be an Object');
    1819        }
Note: See TracChangeset for help on using the changeset viewer.