From e2bc9a12a68bd713a2a49de5315649b9d660e54a Mon Sep 17 00:00:00 2001 From: Maxim Postautov <54762420+mpstv@users.noreply.github.com> Date: Thu, 13 May 2021 20:05:41 +0300 Subject: Change glossary word translation (#742) * change glossary word translation ru * Update files/ru/glossary/callback_function/index.html Co-authored-by: Yana Klose-Ivanova <75987641+captainspring@users.noreply.github.com> * Update files/ru/glossary/callback_function/index.html Co-authored-by: Yana Klose-Ivanova <75987641+captainspring@users.noreply.github.com> * Update files/ru/glossary/compile/index.html Co-authored-by: Yana Klose-Ivanova <75987641+captainspring@users.noreply.github.com> * Update files/ru/glossary/compile/index.html Co-authored-by: Yana Klose-Ivanova <75987641+captainspring@users.noreply.github.com> * Update files/ru/glossary/high-level_programming_language/index.html Co-authored-by: Yana Klose-Ivanova <75987641+captainspring@users.noreply.github.com> * Update files/ru/glossary/html/index.html Co-authored-by: Yana Klose-Ivanova <75987641+captainspring@users.noreply.github.com> * Update files/ru/web/css/@font-face/index.html Co-authored-by: Yana Klose-Ivanova <75987641+captainspring@users.noreply.github.com> * Update files/ru/glossary/ietf/index.html Co-authored-by: Yana Klose-Ivanova <75987641+captainspring@users.noreply.github.com> * Update files/ru/glossary/method/index.html Co-authored-by: Yana Klose-Ivanova <75987641+captainspring@users.noreply.github.com> * Update files/ru/glossary/request_header/index.html Co-authored-by: Yana Klose-Ivanova <75987641+captainspring@users.noreply.github.com> * Update files/ru/learn/index.html Co-authored-by: Yana Klose-Ivanova <75987641+captainspring@users.noreply.github.com> * Update files/ru/learn/javascript/building_blocks/looping_code/index.html Co-authored-by: Yana Klose-Ivanova <75987641+captainspring@users.noreply.github.com> * Update files/ru/mdn/contribute/howto/add_or_update_browser_compatibility_data/index.html Co-authored-by: Yana Klose-Ivanova <75987641+captainspring@users.noreply.github.com> * Update files/ru/mdn/contribute/howto/write_a_new_entry_in_the_glossary/index.html Co-authored-by: Yana Klose-Ivanova <75987641+captainspring@users.noreply.github.com> * Update files/ru/mozilla/add-ons/webextensions/manifest.json/index.html Co-authored-by: Yana Klose-Ivanova <75987641+captainspring@users.noreply.github.com> * Update files/ru/web/api/canvas_api/tutorial/index.html Co-authored-by: Yana Klose-Ivanova <75987641+captainspring@users.noreply.github.com> * Update files/ru/web/api/xmlhttprequest/index.html Co-authored-by: Yana Klose-Ivanova <75987641+captainspring@users.noreply.github.com> * Update files/ru/web/guide/index.html Co-authored-by: Yana Klose-Ivanova <75987641+captainspring@users.noreply.github.com> * Update files/ru/web/html/element/title/index.html Co-authored-by: Yana Klose-Ivanova <75987641+captainspring@users.noreply.github.com> * Update files/ru/web/javascript/reference/global_objects/symbol/index.html Co-authored-by: Yana Klose-Ivanova <75987641+captainspring@users.noreply.github.com> * Update files/ru/web/xml/xml_introduction/index.html Co-authored-by: Yana Klose-Ivanova <75987641+captainspring@users.noreply.github.com> * review changes * links changes Co-authored-by: Yana Klose-Ivanova <75987641+captainspring@users.noreply.github.com> --- files/ru/learn/javascript/building_blocks/looping_code/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/ru/learn/javascript') diff --git a/files/ru/learn/javascript/building_blocks/looping_code/index.html b/files/ru/learn/javascript/building_blocks/looping_code/index.html index 845b82d229..b3f85a278e 100644 --- a/files/ru/learn/javascript/building_blocks/looping_code/index.html +++ b/files/ru/learn/javascript/building_blocks/looping_code/index.html @@ -39,7 +39,7 @@ translation_of: Learn/JavaScript/Building_blocks/Looping_code
  • Итератор постепенно увеличивает счётчик на некоторое значение на каждом шаге цикла, пока не достигнуто условия выхода. Мы явно не показали это в изображении, но если предположить что фермер собирает две порции еды в час, то после каждого часа, количество еды, которое у него имеется, увеличивается на две порции, и он проверяет достаточно ли у него еды сейчас. Если у него собралось 10 порций (условие выхода), он может остановить сбор и вернуться домой.
  • -

    В псевдокоде это будет выглядеть следующим образом:

    +

    В псевдокоде это будет выглядеть следующим образом:

    loop(food = 0; foodNeeded = 10) {
       if (food = foodNeeded) {
    -- 
    cgit v1.2.3-54-g00ecf