1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 10:22:23 +00:00

docs(class): fix typo

This commit is contained in:
ruanyf 2020-02-27 11:37:31 +08:00
parent 717f4e4218
commit 57701fcc2e

View File

@ -975,7 +975,7 @@ class Rectangle {
}
class Square extends Rectangle {
constructor(length) {
constructor(length, width) {
super(length, width);
}
}