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/2020/GetMethod.js

    r0c6b92a r79a0317  
    55var GetV = require('./GetV');
    66var IsCallable = require('./IsCallable');
    7 var IsPropertyKey = require('./IsPropertyKey');
     7var isPropertyKey = require('../helpers/isPropertyKey');
    88
    99var inspect = require('object-inspect');
     
    1313module.exports = function GetMethod(O, P) {
    1414        // 7.3.9.1
    15         if (!IsPropertyKey(P)) {
    16                 throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true');
     15        if (!isPropertyKey(P)) {
     16                throw new $TypeError('Assertion failed: P is not a Property Key');
    1717        }
    1818
Note: See TracChangeset for help on using the changeset viewer.