diff options
| author | Alexey Pyltsyn <lex61rus@gmail.com> | 2021-10-20 13:28:52 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-20 13:28:52 +0300 |
| commit | 1386fed7d38652d5848d315927e7e23a66cffd13 (patch) | |
| tree | eb4b9adfec3f46c77304a1b9461d44357c8164c8 /files/ru/web/javascript/reference/global_objects/array/of | |
| parent | b0f32a46245b1033098a5a9826a7818fa4e65dde (diff) | |
| download | translated-content-1386fed7d38652d5848d315927e7e23a66cffd13.tar.gz translated-content-1386fed7d38652d5848d315927e7e23a66cffd13.tar.bz2 translated-content-1386fed7d38652d5848d315927e7e23a66cffd13.zip | |
[RU] Remove `name` attribute from headings (#2788)
Diffstat (limited to 'files/ru/web/javascript/reference/global_objects/array/of')
| -rw-r--r-- | files/ru/web/javascript/reference/global_objects/array/of/index.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/files/ru/web/javascript/reference/global_objects/array/of/index.html b/files/ru/web/javascript/reference/global_objects/array/of/index.html index e68f8a42a9..9cbf667f67 100644 --- a/files/ru/web/javascript/reference/global_objects/array/of/index.html +++ b/files/ru/web/javascript/reference/global_objects/array/of/index.html @@ -23,11 +23,11 @@ Array.of(1, 2, 3); // [1, 2, 3] Array(7); // массив с 7 пустыми слотами Array(1, 2, 3); // [1, 2, 3]</pre> -<h2 id="Syntax" name="Syntax">Синтаксис</h2> +<h2 id="Syntax">Синтаксис</h2> <pre class="syntaxbox"><code>Array.of(<var>element0</var>[, <var>element1</var>[, ...[, <var>elementN</var>]]])</code></pre> -<h3 id="Parameters" name="Parameters">Параметры</h3> +<h3 id="Parameters">Параметры</h3> <dl> <dt><code>element<em>N</em></code></dt> @@ -38,18 +38,18 @@ Array(1, 2, 3); // [1, 2, 3]</pre> <p>Новый массив {{jsxref("Array")}}.</p> -<h2 id="Description" name="Description">Описание</h2> +<h2 id="Description">Описание</h2> <p>Эта функция является частью стандарта ECMAScript 6. Для дополнительной информации смотрите <a href="https://gist.github.com/rwaldron/1074126">предложение по Array.of и Array.from</a> и <a href="https://gist.github.com/rwaldron/3186576">полифил для Array.of</a>.</p> -<h2 id="Examples" name="Examples">Примеры</h2> +<h2 id="Examples">Примеры</h2> <pre class="brush: js">Array.of(1); // [1] Array.of(1, 2, 3); // [1, 2, 3] Array.of(undefined); // [undefined] </pre> -<h2 id="Compatibility" name="Compatibility">Полифил</h2> +<h2 id="Compatibility">Полифил</h2> <p>Выполнение следующего кода перед любым другим кодом создаст метод <code>Array.of()</code>, если он ещё не реализован в браузере.</p> @@ -64,7 +64,7 @@ Array.of(undefined); // [undefined] return vals.slice() }</pre> -<h2 id="Specifications" name="Specifications">Спецификации</h2> +<h2 id="Specifications">Спецификации</h2> <table class="standard-table"> <tbody> @@ -86,11 +86,11 @@ Array.of(undefined); // [undefined] </tbody> </table> -<h2 id="Browser_compatibility" name="Browser_compatibility">Совместимость с браузерами</h2> +<h2 id="Browser_compatibility">Совместимость с браузерами</h2> <div>{{Compat("javascript.builtins.Array.of")}}</div> -<h2 id="See_also" name="See_also">Смотрите также</h2> +<h2 id="See_also">Смотрите также</h2> <ul> <li>{{jsxref("Array")}}</li> |
