mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 18:32:22 +00:00
docs(class): fix typo
This commit is contained in:
parent
717f4e4218
commit
57701fcc2e
@ -975,7 +975,7 @@ class Rectangle {
|
||||
}
|
||||
|
||||
class Square extends Rectangle {
|
||||
constructor(length) {
|
||||
constructor(length, width) {
|
||||
super(length, width);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user