super(length, length) => super(length, width);

This commit is contained in:
iNE
2019-02-11 19:02:35 +08:00
committed by GitHub
parent 32c1d1875d
commit 83af4043f0
+1 -1
View File
@@ -975,7 +975,7 @@ class Rectangle {
class Square extends Rectangle {
constructor(length) {
super(length, length);
super(length, width);
}
}