let i=1
Object.defineProperty(window,'a',{
get(){
return i++
}
})
console.log(a==1&&a==2&&a==3)
// 只要出现a,就会触发
12345,每周5道题](https://gitee.com/songjinyang/everyday)