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/2018/SetIntegrityLevel.js

    r0c6b92a r79a0317  
    1414var IsAccessorDescriptor = require('./IsAccessorDescriptor');
    1515var ToPropertyDescriptor = require('./ToPropertyDescriptor');
    16 var Type = require('./Type');
     16
     17var isObject = require('../helpers/isObject');
    1718
    1819// https://262.ecma-international.org/6.0/#sec-setintegritylevel
    1920
    2021module.exports = function SetIntegrityLevel(O, level) {
    21         if (Type(O) !== 'Object') {
     22        if (!isObject(O)) {
    2223                throw new $TypeError('Assertion failed: Type(O) is not Object');
    2324        }
Note: See TracChangeset for help on using the changeset viewer.