SOURCE

// Object.is
Object.defineProperty(Object,'is',{
  value:function(x,y){
    if(x===y){
      return x!==0||1/x===1/y
    }
    return x!==x&&y!==y
  },
  enumerable:true,
  
  writable:false,
  configurable:true
}
)
console 命令行工具 X clear

                    
>
console