Skip to content

Instantly share code, notes, and snippets.

@goofmint
Last active Jul 9, 2017
Embed
What would you like to do?
scale: {
get: function() {
return this._scale;
},
set: function(val) {
this._scale = val * 100;
}
},
hello.scale = 200;
hello.scale // -> 20000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment