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
Copy file name to clipboardExpand all lines: assets/questions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4205,7 +4205,7 @@ console.log(foo())
4205
4205
<details>
4206
4206
<summary>Ответ</summary>
4207
4207
<div>
4208
-
<h4>Правильный ответ: D</h4>
4208
+
<h4>Правильный ответ: C</h4>
4209
4209
<p>
4210
4210
Здесь мы имеем дело с автоматической расстановкой точек с запятой. В данном случае, точка с запятой автоматически вставляется после оператора "return". Поэтому функция возвращает undefined. <br>
4211
4211
Если поставить "{" перед return, то функция будет работать, как ожидается: <br>
0 commit comments