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

    r0c6b92a r79a0317  
    99
    1010module.exports = function IsStrictlyEqual(x, y) {
    11         var xType = Type(x);
    12         var yType = Type(y);
    13         if (xType !== yType) {
     11        if (Type(x) !== Type(y)) {
    1412                return false;
    1513        }
    16         if (xType === 'Number' || xType === 'BigInt') {
    17                 return xType === 'Number' ? NumberEqual(x, y) : BigIntEqual(x, y);
     14        if (typeof x === 'number' || typeof x === 'bigint') {
     15                return typeof x === 'number' ? NumberEqual(x, y) : BigIntEqual(x, y);
    1816        }
    1917        return SameValueNonNumeric(x, y);
Note: See TracChangeset for help on using the changeset viewer.