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

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var callBound = require('call-bind/callBound');
     3var callBound = require('call-bound');
    44
    55var $SyntaxError = require('es-errors/syntax');
    66var $bigIntValueOf = callBound('BigInt.prototype.valueOf', true);
    77
    8 var Type = require('./Type');
    9 
    108// https://262.ecma-international.org/11.0/#sec-thisbigintvalue
    119
    1210module.exports = function thisBigIntValue(value) {
    13         var type = Type(value);
    14         if (type === 'BigInt') {
     11        if (typeof value === 'bigint') {
    1512                return value;
    1613        }
Note: See TracChangeset for help on using the changeset viewer.