Created
November 11, 2018 20:33
-
-
Save tondrej/254067873ccf6fbe85ebe0f5f2f0c0de to your computer and use it in GitHub Desktop.
Circle
This file contains hidden or 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
function Circle(x, y, r) { | |
Shape.call(this, x, y); | |
this.r = r; | |
} | |
Circle.prototype = Object.create(Shape.prototype); | |
Circle.prototype.constructor = Circle; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment