Skip to content

Commit 4df0cde

Browse files
authored
Update 1-js/02-first-steps/05-types/article.md
1 parent b3af886 commit 4df0cde

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

1-js/02-first-steps/05-types/article.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ typeof 50 + " Квартир"; // Выведет "number Квартир"
228228
typeof (50 + " Квартир"); // Выведет "string"
229229
```
230230
Другими словами, скобки необходимы для определения типа значения, которое получилось в результате выполнения выражения в них.
231+
231232
Вызов `typeof x` возвращает строку с именем типа:
232233

233234
```js

0 commit comments

Comments
 (0)