From df0df97949068e94ff236b0fc3b47d61b15dac6a Mon Sep 17 00:00:00 2001 From: Veronika Krukovich Date: Fri, 20 Dec 2019 17:23:15 +0200 Subject: [PATCH] fix challenges translation into russian (#36888) --- ...that-any-elements-in-an-array-meet-a-criteria.russian.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/curriculum/challenges/russian/02-javascript-algorithms-and-data-structures/functional-programming/use-the-some-method-to-check-that-any-elements-in-an-array-meet-a-criteria.russian.md b/curriculum/challenges/russian/02-javascript-algorithms-and-data-structures/functional-programming/use-the-some-method-to-check-that-any-elements-in-an-array-meet-a-criteria.russian.md index 6658931d02..1af4213f1a 100644 --- a/curriculum/challenges/russian/02-javascript-algorithms-and-data-structures/functional-programming/use-the-some-method-to-check-that-any-elements-in-an-array-meet-a-criteria.russian.md +++ b/curriculum/challenges/russian/02-javascript-algorithms-and-data-structures/functional-programming/use-the-some-method-to-check-that-any-elements-in-an-array-meet-a-criteria.russian.md @@ -8,8 +8,8 @@ localeTitle: Используйте некоторый метод для про ## Description
-The some method works with arrays to check if any element passes a particular test. It returns a Boolean value - true if any of the values meet the criteria, false if not. -For example, the following code would check if any element in the numbers array is less than 10: +Метод some работает с массивами, чтобы проверить проходит ли какой-либо элемент определенный тест. Он возвращает логическое значение - true если любое из значений соответствует критерию, false если нет. +Например, следующий код будет проверять, является ли какой-либо элемент в массиве чисел значением меньше 10: ```js var numbers = [10, 50, 8, 220, 110, 11]; @@ -23,7 +23,7 @@ numbers.some(function(currentValue) { ## Instructions
-Use the some method inside the checkPositive function to check if any element in arr is positive. The function should return a Boolean value. +Используйте метод some внутри функции checkPositive, чтобы проверить является ли какой-либо из элементов в arr положительным. Функция должна вернуть логическое значение.
## Tests