Object.is() - JavaScript | MDN

The Object.is() static method determines whether two values are the same value.