Skip to content

Commit d1e4981

Browse files
authored
Merge pull request #2102 from pushpend3r/patch-2
Typo
2 parents 7fd4f7d + 2bf5add commit d1e4981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/09-classes/02-class-inheritance/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ Why is there the difference?
364364

365365
Well, the reason is in the field initialization order. The class field is initialized:
366366
- Before constructor for the base class (that doesn't extend anything),
367-
- Imediately after `super()` for the derived class.
367+
- Immediately after `super()` for the derived class.
368368

369369
In our case, `Rabbit` is the derived class. There's no `constructor()` in it. As said previously, that's the same as if there was an empty constructor with only `super(...args)`.
370370

0 commit comments

Comments
 (0)