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/CanBeHeldWeakly.js

    r0c6b92a r79a0317  
    22
    33var KeyForSymbol = require('./KeyForSymbol');
    4 var Type = require('./Type');
     4
     5var isObject = require('../helpers/isObject');
    56
    67// https://262.ecma-international.org/14.0/#sec-canbeheldweakly
    78
    89module.exports = function CanBeHeldWeakly(v) {
    9         if (Type(v) === 'Object') {
     10        if (isObject(v)) {
    1011                return true; // step 1
    1112        }
Note: See TracChangeset for help on using the changeset viewer.