Skip to content

Commit 354c616

Browse files
committed
work
1 parent b043ea7 commit 354c616

File tree

20 files changed

+859
-41
lines changed

20 files changed

+859
-41
lines changed

1-js/2-first-steps/07-types/article.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,15 +127,15 @@ let age = null;
127127
128128
In JavaScript `null` is not a "reference to a non-existing object" or a "null pointer" like in some other languages.
129129
130-
It's just a special value which has the sense of "nothing" or "value unknown".
130+
It's just a special value which has the sense of "nothing", "empty" or "value unknown".
131131

132-
The code above states that the `age` is unknown.
132+
The code above states that the `age` is unknown or empty for some reason.
133133

134134
## The "undefined" value
135135

136136
The special value `undefined` stands apart. It makes a type of its own, just like `null`.
137137

138-
The sense of `undefined` is "value is not assigned".
138+
The sense of `undefined` is "value is not assigned".
139139

140140
If a variable is declared, but not assigned, then its value is exactly `undefined`:
141141

@@ -157,6 +157,7 @@ alert( x ); // "undefined"
157157

158158
...But it's not recommended to do that. Normally, we use `null` to write an "empty" or an "unknown" value into the variable, and `undefined` is only used for checks, to see if the variable is assigned or similar.
159159
160+
160161
## Objects
161162
162163
The `object` type is special.

1-js/2-first-steps/19-function-basics/1-if-else-required/solution.md renamed to 1-js/2-first-steps/17-function-basics/1-if-else-required/solution.md

File renamed without changes.

1-js/2-first-steps/19-function-basics/1-if-else-required/task.md renamed to 1-js/2-first-steps/17-function-basics/1-if-else-required/task.md

File renamed without changes.

1-js/2-first-steps/19-function-basics/2-rewrite-function-question-or/solution.md renamed to 1-js/2-first-steps/17-function-basics/2-rewrite-function-question-or/solution.md

File renamed without changes.

1-js/2-first-steps/19-function-basics/2-rewrite-function-question-or/task.md renamed to 1-js/2-first-steps/17-function-basics/2-rewrite-function-question-or/task.md

File renamed without changes.

1-js/2-first-steps/19-function-basics/3-min/solution.md renamed to 1-js/2-first-steps/17-function-basics/3-min/solution.md

File renamed without changes.
File renamed without changes.

1-js/2-first-steps/19-function-basics/4-pow/solution.md renamed to 1-js/2-first-steps/17-function-basics/4-pow/solution.md

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)