docs(class): fix typo

This commit is contained in:
ruanyf
2020-02-27 11:37:31 +08:00
parent 717f4e4218
commit 57701fcc2e
+1 -1
View File
@@ -975,7 +975,7 @@ class Rectangle {
}
class Square extends Rectangle {
constructor(length) {
constructor(length, width) {
super(length, width);
}
}