Last active
May 27, 2017 19:22
-
-
Save ortichon/26035ef0e434fc6ab1a568e3c66348f5 to your computer and use it in GitHub Desktop.
JavaScript Interview Question #1
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
var variables = { set number(value) { this._number = value; }, get number() { return Math.random(); } } | |
variables.number = 5; | |
console.log(variables.number === variables.number); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment