aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/javascript/reference/global_objects/generator
diff options
context:
space:
mode:
authorAlexey Pyltsyn <lex61rus@gmail.com>2021-10-27 02:31:24 +0300
committerGitHub <noreply@github.com>2021-10-27 02:31:24 +0300
commit980fe00a74a9ad013b945755415ace2e5429c3c2 (patch)
treea1c6bb4b302e69bfa53eab13e44500eba55d1696 /files/ru/web/javascript/reference/global_objects/generator
parent374a039b97a11ee7306539d16aaab27fed66b398 (diff)
downloadtranslated-content-980fe00a74a9ad013b945755415ace2e5429c3c2.tar.gz
translated-content-980fe00a74a9ad013b945755415ace2e5429c3c2.tar.bz2
translated-content-980fe00a74a9ad013b945755415ace2e5429c3c2.zip
[RU] Remove notranslate (#2874)
Diffstat (limited to 'files/ru/web/javascript/reference/global_objects/generator')
-rw-r--r--files/ru/web/javascript/reference/global_objects/generator/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/ru/web/javascript/reference/global_objects/generator/index.html b/files/ru/web/javascript/reference/global_objects/generator/index.html
index 2eec389c7e..8d5768c60c 100644
--- a/files/ru/web/javascript/reference/global_objects/generator/index.html
+++ b/files/ru/web/javascript/reference/global_objects/generator/index.html
@@ -20,7 +20,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Generator
<p>Этот объект не может быть инстанциирован напрямую. Вместо этого, экземпляр <code>Generator</code> может быть возвращён из <a href="/ru/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction">функции-генератора</a>:</p>
-<pre class="notranslate line-numbers language-html">function* generator() {
+<pre class="line-numbers language-html">function* generator() {
yield 1;
yield 2;
yield 3;
@@ -47,7 +47,7 @@ console.log(generator().next().value); // 1</pre>
<h3 id="Бесконечный_Итератор">Бесконечный Итератор</h3>
-<pre class="brush: js notranslate">function* idMaker() {
+<pre class="brush: js">function* idMaker() {
var index = 0;
while(true)
yield index++;