Okay, another hack with generators:
const value = function* () {_x000D_
let i = 0;_x000D_
while(true) yield ++i;_x000D_
}();_x000D_
_x000D_
Object.defineProperty(this, 'a', {_x000D_
get() {_x000D_
return value.next().value;_x000D_
}_x000D_
});_x000D_
_x000D_
if (a === 1 && a === 2 && a === 3) {_x000D_
console.log('yo!');_x000D_
}
_x000D_