ECMAScript 2015 对象扩展方法 object.js

79 阅读1分钟
// 通常建议使用严格等号
console.log(
  // NaN === NaN
  Object.is(NaN,NaN)
)