Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wizard04wsu authored Feb 27, 2019
1 parent 5e4c4b0 commit 92bfbfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var Rectangle = Class.extend({
Object.defineProperty(this, "area", { get:function (){ return this.width * this.height; }, enumerable:true, configurable:true });
},
returnFn:function (width, height){
return (width||0) * (height||0);
return Math.abs((width||0) * (height||0));
},
extensions:{
foo:"I am a rectangle."
Expand Down

0 comments on commit 92bfbfb

Please sign in to comment.