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/2019/GetOwnPropertyKeys.js

    r0c6b92a r79a0317  
    1111var keys = require('object-keys');
    1212
    13 var esType = require('./Type');
     13var isObject = require('../helpers/isObject');
    1414
    1515// https://262.ecma-international.org/6.0/#sec-getownpropertykeys
    1616
    1717module.exports = function GetOwnPropertyKeys(O, Type) {
    18         if (esType(O) !== 'Object') {
     18        if (!isObject(O)) {
    1919                throw new $TypeError('Assertion failed: Type(O) is not Object');
    2020        }
Note: See TracChangeset for help on using the changeset viewer.