You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Строка 696 "начинается ли строка с указанной подстроки", предположу что тут опечатка , основываясь на оригинале и смысле метода.
endsWith: it takes a substring as an argument and it checks if the string ends with that specified substring. It returns a boolean(true or false)
Copy file name to clipboardExpand all lines: RU/02_Day/02_day_data_types.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -693,7 +693,7 @@ console.log(`${a} is greater than ${b}: ${a > b}`);
693
693
console.log(country.startsWith("land")); // false
694
694
```
695
695
696
-
17.`endsWith`: он принимает подстроку в качестве аргумента и проверяет, начинается ли строка с указанной подстроки. Возвращает логическое значение (true или false).
696
+
17.`endsWith`: он принимает подстроку в качестве аргумента и проверяет, заканчивается ли строка указанной подстрокой. Возвращает логическое значение (true или false).
0 commit comments