From 2bf5addf4711a4cf9b1fae321c0a69148aa46fe6 Mon Sep 17 00:00:00 2001 From: Pushpender Singh <46690325+pushpend3r@users.noreply.github.com> Date: Fri, 4 Sep 2020 21:12:46 +0530 Subject: [PATCH] Typo "Imediately" instead of "Immediately" --- 1-js/09-classes/02-class-inheritance/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/09-classes/02-class-inheritance/article.md b/1-js/09-classes/02-class-inheritance/article.md index 3ce6d299..8fd029a1 100644 --- a/1-js/09-classes/02-class-inheritance/article.md +++ b/1-js/09-classes/02-class-inheritance/article.md @@ -364,7 +364,7 @@ Why is there the difference? Well, the reason is in the field initialization order. The class field is initialized: - Before constructor for the base class (that doesn't extend anything), -- Imediately after `super()` for the derived class. +- Immediately after `super()` for the derived class. 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)`.