Object.is()
↔ Object Static Method to check if equality of two values, with even greater strictness than ===
Source: Object.is() - JavaScript | MDN
Object.is()
when both (eval to) undefined
?
Object.is()
when both (eval to) null
both true
both false
both same string
References
assert.strictEqual()
↔assert
Static Method to test expression===
expected, determined byObject.is()
[**_
Object.is()_**](object-is) same number for
↔ both+0
OR both-1
or bothNaN
or both non-zero with same value