We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0875039 commit 7542a75Copy full SHA for 7542a75
documentation/examples/get_set.coffee
@@ -6,4 +6,4 @@ Object.defineProperty screen, 'height',
6
get: ->
7
this.width / this.ratio
8
set: (val) ->
9
- this.width = val / this.ratio
+ this.width = val * this.ratio
0 commit comments