From 9a3567857d4ba02e0f1d9e7419d04184980797f3 Mon Sep 17 00:00:00 2001 From: Vse Mozhe Buty Date: Tue, 27 Oct 2020 19:24:45 +0200 Subject: [PATCH] Add missing semicolons in 1.9.2 (Class inheritance) --- 1-js/09-classes/02-class-inheritance/article.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/1-js/09-classes/02-class-inheritance/article.md b/1-js/09-classes/02-class-inheritance/article.md index 69ca4eab..d84ab442 100644 --- a/1-js/09-classes/02-class-inheritance/article.md +++ b/1-js/09-classes/02-class-inheritance/article.md @@ -76,8 +76,8 @@ For instance, a function call that generates the parent class: ```js run function f(phrase) { return class { - sayHi() { alert(phrase) } - } + sayHi() { alert(phrase); } + }; } *!* @@ -300,7 +300,7 @@ Consider this example: ```js run class Animal { - name = 'animal' + name = 'animal'; constructor() { alert(this.name); // (*)