如何实现 a==1&&a==2&&a==3 ?
let x = 0
Object.defineProperty(window,'a',{
get(){
return ++x
}
})
if(a == 1 && a == 2 && a == 3)console.log('zjy')
以自己现在的努力程度,还没有资格和别人拼天赋
let x = 0
Object.defineProperty(window,'a',{
get(){
return ++x
}
})
if(a == 1 && a == 2 && a == 3)console.log('zjy')