Last active
January 6, 2020 19:33
-
-
Save codenirvana/e57f8cc58d81795b7d98e2829cbef45f to your computer and use it in GitHub Desktop.
a===1 && a===2 && a===3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.value = 0; // global, window, or globalThis ¯\_(ツ)_/¯ | |
Object.defineProperty(this, 'a', { | |
get: () => ++this.value | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment