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/2021/ApplyStringOrNumericBinaryOperator.js

    r0c6b92a r79a0317  
    7070        var lnum = ToNumeric(lval);
    7171        var rnum = ToNumeric(rval);
    72         var T = Type(lnum);
    73         if (T !== Type(rnum)) {
     72        if (Type(lnum) !== Type(rnum)) {
    7473                throw new $TypeError('types of ' + lnum + ' and ' + rnum + ' differ');
    7574        }
    76         var Operation = table[opText][T === 'BigInt' ? 1 : 0];
     75        var Operation = table[opText][typeof lnum === 'bigint' ? 1 : 0];
    7776        return Operation(lnum, rnum);
    7877};
Note: See TracChangeset for help on using the changeset viewer.