let x = 0 Object.defineProperty(window,'a',{ get(){ return ++x } }) if(a == 1 && a == 2 && a == 3)console.log('zjy')