Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d7bdee1

Browse files
committed
fixes
1 parent f16b0cf commit d7bdee1

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

‎1-js/02-first-steps/06-type-conversions/1-primitive-conversions-questions/task.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ What are results of these expressions?
1111
"" - 1 + 0
1212
true + false
1313
6 / "3"
14-
2" * "3"
14+
"2" * "3"
1515
4 + 5 + "px"
1616
"$" + 4 + 5
1717
"4" - 2

‎1-js/02-first-steps/07-operators/article.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,9 @@ alert( 4 ** (1/2) ); // 2 (power of 1/2 is the same as a square root, that's mat
234234
alert( 8 ** (1/3) ); // 2 (power of 1/3 is the same as a cubic root)
235235
```
236236
237-
## Increment/decrement: ++, --
237+
## Increment/decrement
238+
239+
<!-- Can't use -- in title, because built-in parse turns it into – -->
238240
239241
Increasing or decreasing a number by one is among the most common numerical operations.
240242

‎1-js/02-first-steps/08-comparison/article.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ The reason is that an equality check `==` and comparisons `> < >= <=` work diffe
180180

181181
From the other hand, the equality check `==` for `undefined` and `null` works by the rule, without any conversions. They equal each other and don't equal anything else. That's why (2) `null == 0` is false.
182182

183-
### An uncomparable undefined
183+
### An incomparable undefined
184184

185185
The value `undefined` shouldn't participate in comparisons at all:
186186

‎1-js/04-object-basics/01-object/article.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# Objects
33

4-
As we know, there are 7 language types in JavaScript. Six of them are called "primitive", because their values contain only a single thing (be it a string or a number or whatever).
4+
As we know from the chapter <info:types>, there are 7 language types in JavaScript. Six of them are called "primitive", because their values contain only a single thing (be it a string or a number or whatever).
55

66
In contrast, objects are used to store keyed collections of various data and more complex entities. In JavaScript, objects penetrate almost every aspect of the language. So we must understand them first before going in-depth anywhere else.
77

@@ -573,7 +573,7 @@ user = {
573573
};
574574
```
575575
576-
...But what if we want to make constant object properties? So that `user.age = 25` would give an error. That's possible too. We'll cover it in the chapter <info:property-flags-descriptors>.
576+
...But what if we want to make constant object properties? So that `user.age = 25` would give an error. That's possible too. We'll cover it in the chapter <info:property-descriptors>.
577577
578578
## Cloning and merging, Object.assign
579579

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /