add a missed break line
This commit is contained in:
parent
3be0d3ed0b
commit
2f56ecf1a7
1 changed files with 1 additions and 0 deletions
|
@ -160,6 +160,7 @@ Now `Rabbit` has the `stop` method that calls the parent `super.stop()` in the p
|
||||||
As was mentioned in the chapter <info:arrow-functions>, arrow functions do not have `super`.
|
As was mentioned in the chapter <info:arrow-functions>, arrow functions do not have `super`.
|
||||||
|
|
||||||
If accessed, it's taken from the outer function. For instance:
|
If accessed, it's taken from the outer function. For instance:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
class Rabbit extends Animal {
|
class Rabbit extends Animal {
|
||||||
stop() {
|
stop() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue