From 56b6cd4dc72c7b9cd355411fd91b5cda9048b643 Mon Sep 17 00:00:00 2001 From: ASubjectPro <31659942+DontTreadMe@users.noreply.github.com> Date: Sat, 24 Nov 2018 20:37:53 +0200 Subject: [PATCH] Translation correction (#24258) --- .../javascript/conditional-ternary-operators/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/guide/russian/javascript/conditional-ternary-operators/index.md b/guide/russian/javascript/conditional-ternary-operators/index.md index e126574de2..7853e9286c 100644 --- a/guide/russian/javascript/conditional-ternary-operators/index.md +++ b/guide/russian/javascript/conditional-ternary-operators/index.md @@ -18,9 +18,9 @@ const thing = (condition) ? : ; const cappedInput = input > 50 ? 50 : input // this will cap the input at 50 ``` -### Еще раз, если +### Else if -Вы также можете связать троичные операторы, таким образом вы будете иметь поведение if-else if-else +Вы также можете сцеплять тернарные операторы, таким образом вы будете иметь поведение if-else if-else ```js ? @@ -34,4 +34,4 @@ const wealth = housesOwned > 3 ? "rich" : housesOwned > 1 ? "nothing to complain" : "poor" -``` \ No newline at end of file +```