Skip to content

Commit a89e6a8

Browse files
committed
Fix comma splice.
Use hyphens for adjective. Use a comma for introductory clauses. Add period at the end of a sentence.
1 parent 8449ded commit a89e6a8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/en/types/equality.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ JavaScript features *weak typing*. This means that the equality operator
1919
null == undefined // true
2020
" \t\r\n" == 0 // true
2121

22-
The above table shows the results of the type coercion and it is the main reason
23-
why the use of `==` is widely regarded as bad practice, it introduces hard to
24-
track down bugs due to its complicated conversion rules.
22+
The above table shows the results of the type coercion, and it is the main reason
23+
why the use of `==` is widely regarded as bad practice. It introduces
24+
hard-to-track-down bugs due to its complicated conversion rules.
2525

26-
Additionally there is also a performance impact when type coercion is in play;
26+
Additionally, there is also a performance impact when type coercion is in play;
2727
for example, a string has to be converted to a number before it can be compared
2828
to another number.
2929

3030
### The Strict Equality Operator
3131

32-
The strict equality operator consists of **three** equal signs: `===`
32+
The strict equality operator consists of **three** equal signs: `===`.
3333

3434
It works exactly like the normal equality operator, except that strict equality
3535
operator does **not** perform type coercion between its operands.

0 commit comments

Comments
 (0)