diff options
Diffstat (limited to 'files/ru/web/javascript/reference/statements/function_star_/index.html')
-rw-r--r-- | files/ru/web/javascript/reference/statements/function_star_/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/files/ru/web/javascript/reference/statements/function_star_/index.html b/files/ru/web/javascript/reference/statements/function_star_/index.html index d13aa3f645..ba3e199375 100644 --- a/files/ru/web/javascript/reference/statements/function_star_/index.html +++ b/files/ru/web/javascript/reference/statements/function_star_/index.html @@ -11,11 +11,11 @@ translation_of: Web/JavaScript/Reference/Statements/function* --- <div>{{jsSidebar("Statements")}}</div> -<h2 id="Summary" name="Summary">Сводка</h2> +<h2 id="Summary">Сводка</h2> <p><code><strong>function*</strong></code> (ключевое слово <code>function</code> со звёздочкой) определяет <em>функцию-генератор</em>.</p> -<h2 id="Syntax" name="Syntax">Синтаксис</h2> +<h2 id="Syntax">Синтаксис</h2> <pre>function* <em>name</em>([<em>param</em>[, <em>param</em>[, ... <em>param</em>]]]) { <em>statements</em> } </pre> @@ -132,7 +132,7 @@ console.log(gen.next()); // { value: undefined, done: true }</pre> </tbody> </table> -<h2 id="Browser_compatibility" name="Browser_compatibility">Совместимость с браузерами</h2> +<h2 id="Browser_compatibility">Совместимость с браузерами</h2> <p>{{Compat}}</p> |