mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-25 03:02:21 +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 {
|
class Square extends Rectangle {
|
||||||
constructor(length) {
|
constructor(length, width) {
|
||||||
super(length, width);
|
super(length, width);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user