- Complete React app with 7 developer tools - JSON Tool with visual structured editor - Serialize Tool with visual structured editor - URL, Base64, CSV/JSON, Beautifier, Diff tools - Responsive navigation with dropdown menu - Dark/light mode toggle - Mobile-responsive design with sticky header - All tools working with copy/paste functionality
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);
|
|
};
|