Skip to content

Commit 9b82ae6

Browse files
committed
Use a comma for introductory clauses.
Remove comma before "that". Fix incomplete sentence.
1 parent a89e6a8 commit 9b82ae6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/en/types/typeof.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ object.
3333
{} Object object
3434
new Object() Object object
3535

36-
In the above table *Type* refers to the value, that the `typeof` operator returns.
36+
In the above table, *Type* refers to the value that the `typeof` operator returns.
3737
As can be clearly seen, this value is anything but consistent.
3838

3939
The *Class* refers to the value of the internal `[[Class]]` property of an object.
@@ -42,7 +42,7 @@ The *Class* refers to the value of the internal `[[Class]]` property of an objec
4242
> following strings. `Arguments`, `Array`, `Boolean`, `Date`, `Error`,
4343
> `Function`, `JSON`, `Math`, `Number`, `Object`, `RegExp`, `String`.
4444
45-
In order to retrieve the value of `[[Class]]` one has to make use of the
45+
In order to retrieve the value of `[[Class]]`, one has to make use of the
4646
`toString` method of `Object.prototype`.
4747

4848
### The Class of an Object
@@ -77,7 +77,7 @@ referencing it would result in a `ReferenceError`. This is the only thing
7777
### In Conclusion
7878

7979
In order to check the type of an object, it is highly recommended to use
80-
`Object.prototype.toString`; as this is the only reliable way of doing so.
80+
`Object.prototype.toString` because this is the only reliable way of doing so.
8181
As shown in the above type table, some return values of `typeof` are not defined
8282
in the specification; thus, they can differ across various implementations.
8383

0 commit comments

Comments
 (0)