aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/javascript/reference/operators/new.target/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/web/javascript/reference/operators/new.target/index.html')
-rw-r--r--files/ru/web/javascript/reference/operators/new.target/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/ru/web/javascript/reference/operators/new.target/index.html b/files/ru/web/javascript/reference/operators/new.target/index.html
index bab9b8e956..5feccb7b52 100644
--- a/files/ru/web/javascript/reference/operators/new.target/index.html
+++ b/files/ru/web/javascript/reference/operators/new.target/index.html
@@ -47,8 +47,8 @@ Foo(); // ошибка "Foo() must be called with new"
class B extends A { constructor() { super(); } }
-var a = new A(); // вернет "A"
-var b = new B(); // вернет "B"
+var a = new A(); // вернёт "A"
+var b = new B(); // вернёт "B"
</pre>
<h2 id="Спецификации">Спецификации</h2>