Merge pull request #810 from Sakuraine/patch-1

super(length, length) => super(length, width);
This commit is contained in:
Ruan YiFeng
2019-02-13 12:10:37 +08:00
committed by GitHub
+1 -1
View File
@@ -975,7 +975,7 @@ class Rectangle {
class Square extends Rectangle {
constructor(length) {
super(length, length);
super(length, width);
}
}