Skip to content

Commit f643be3

Browse files
committed
minor
1 parent 95597b8 commit f643be3

File tree

2 files changed

+2
-2
lines changed
  • 1-js/02-first-steps

2 files changed

+2
-2
lines changed

Diff for: 1-js/02-first-steps/04-variables/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ A [variable](https://en.wikipedia.org/wiki/Variable_(computer_science)) is a "na
1212

1313
To create a variable in JavaScript, use the `let` keyword.
1414

15-
The statement below creates (in other words: *declares* or *defines*) a variable with the name "message":
15+
The statement below creates (in other words: *declares*) a variable with the name "message":
1616

1717
```js
1818
let message;

Diff for: 1-js/02-first-steps/06-type-conversions/1-primitive-conversions-questions/solution.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ undefined + 1 = NaN // (6)
2323
4. The subtraction always converts to numbers, so it makes `" -9 "` a number `-9` (ignoring spaces around it).
2424
5. `null` becomes `0` after the numeric conversion.
2525
6. `undefined` becomes `NaN` after the numeric conversion.
26-
7. Space characters, such as `\t` and `\n`, are trimmed off string start and end when a string is converted to a number. So a string `\t \n`, similarly to an empty string, becomes `0`.
26+
7. Space characters, are trimmed off string start and end when a string is converted to a number. Here the whole string consists of space characters, such as `\t`, `\n` and a "regular" space between them. So, similarly to an empty string, it becomes `0`.

0 commit comments

Comments
 (0)