feat(navigation): add prominent validation quickstart action
This commit is contained in:
parent
0bbcaba211
commit
9c6b184e39
28614 changed files with 4356173 additions and 23 deletions
18
validation-suite/frontend/atlas/node_modules/es-abstract/2022/IsStrictlyEqual.js
generated
vendored
Normal file
18
validation-suite/frontend/atlas/node_modules/es-abstract/2022/IsStrictlyEqual.js
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
'use strict';
|
||||
|
||||
var SameValueNonNumeric = require('./SameValueNonNumeric');
|
||||
var Type = require('./Type');
|
||||
var BigIntEqual = require('./BigInt/equal');
|
||||
var NumberEqual = require('./Number/equal');
|
||||
|
||||
// https://262.ecma-international.org/13.0/#sec-isstrictlyequal
|
||||
|
||||
module.exports = function IsStrictlyEqual(x, y) {
|
||||
if (Type(x) !== Type(y)) {
|
||||
return false;
|
||||
}
|
||||
if (typeof x === 'number' || typeof x === 'bigint') {
|
||||
return typeof x === 'number' ? NumberEqual(x, y) : BigIntEqual(x, y);
|
||||
}
|
||||
return SameValueNonNumeric(x, y);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue