0a5ab058a6
- Angular 12 application with PrimeNG components - 5 existing Cypress e2e test suites - SCSS styling with BEM naming convention - i18n support (10 languages) - Leaflet map integration - Complete component hierarchy and routing structure This baseline will be used for Angular → React migration.
15 lines
392 B
JavaScript
15 lines
392 B
JavaScript
'use strict';
|
|
|
|
var SameValueNonNumber = require('./SameValueNonNumber');
|
|
var Type = require('./Type');
|
|
var NumberEqual = require('./Number/equal');
|
|
|
|
// https://262.ecma-international.org/14.0/#sec-isstrictlyequal
|
|
|
|
module.exports = function IsStrictlyEqual(x, y) {
|
|
if (Type(x) !== Type(y)) {
|
|
return false;
|
|
}
|
|
return typeof x === 'number' ? NumberEqual(x, y) : SameValueNonNumber(x, y);
|
|
};
|