aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/javascript/reference/classes/public_class_fields/index.html
diff options
context:
space:
mode:
authorAlexey Pyltsyn <lex61rus@gmail.com>2021-10-29 20:34:32 +0300
committerGitHub <noreply@github.com>2021-10-29 20:34:32 +0300
commitc08c48e16cb9e47c586925999362de104ecd710d (patch)
tree4464fc29abe9bc12fab7c665884d08b864cf2ff0 /files/ru/web/javascript/reference/classes/public_class_fields/index.html
parent9adcae13346df29353fc658e8c1e04e1903f1f9d (diff)
downloadtranslated-content-c08c48e16cb9e47c586925999362de104ecd710d.tar.gz
translated-content-c08c48e16cb9e47c586925999362de104ecd710d.tar.bz2
translated-content-c08c48e16cb9e47c586925999362de104ecd710d.zip
[RU] Update Compat macros (#2911)
Diffstat (limited to 'files/ru/web/javascript/reference/classes/public_class_fields/index.html')
-rw-r--r--files/ru/web/javascript/reference/classes/public_class_fields/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/ru/web/javascript/reference/classes/public_class_fields/index.html b/files/ru/web/javascript/reference/classes/public_class_fields/index.html
index 7fae158e1d..96cc17edb0 100644
--- a/files/ru/web/javascript/reference/classes/public_class_fields/index.html
+++ b/files/ru/web/javascript/reference/classes/public_class_fields/index.html
@@ -55,7 +55,7 @@ console.log(ClassWithStaticField.staticField);
// Ожидаемый вывод: "static field"
</pre>
-<p>Поля без инициализации имеют значение <code>undefined</code>.</p>
+<p>Поля без инициализации имеют значение <code>("javascript.classes")</code>.</p>
<pre class="brush: js">class ClassWithStaticField {
  static staticField;
@@ -251,7 +251,7 @@ console.log(instance.msg);
<h2 id="Browser_compatibility">Браузерная совместимость</h2>
-<p>{{Compat}}</p>
+<p>{{Compat("javascript.classes")}}</p>
<h2 id="See_also">Смотрите также</h2>