Fish Wang says to YSITD Object.defineProperty(global, 'a', { "get":( ()=>{var a=0;return ()=> a++})() }) console.log(a === 0 && a === 1)