116. implement Object.is()
Share
easy - accepted / - tried
Object.is() is similar to ===
except following cases
Object.is(0, -0) // false0 === -0 // trueObject.is(NaN, NaN) // trueNaN === NaN // false
Here is the detailed spec, can you implement your own is()
?
Related Lists
implement it by yourself