Skip to content

Commit d4111e1

Browse files
committed
Fix comma splice.
Remove extra comma. Fix subject-verb agreement.
1 parent ef2972e commit d4111e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/en/object/general.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ literals act as objects too.
2525

2626
### Objects as a Data Type
2727

28-
Objects in JavaScript can also be used as a [*Hashmap*][1], they mainly consist
28+
Objects in JavaScript can also be used as a [*Hashmap*][1]; they mainly consist
2929
of named properties mapping to values.
3030

3131
Using a object literal - `{}` notation - it is possible to create a
@@ -40,7 +40,7 @@ has no [own properties](#object.hasownproperty) defined on it.
4040
### Accessing Properties
4141

4242
The properties of an object can be accessed in two ways, via either the dot
43-
notation, or the square bracket notation.
43+
notation or the square bracket notation.
4444

4545
var foo = {name: 'Kitten'}
4646
foo.name; // kitten
@@ -59,7 +59,7 @@ the use of property names that would otherwise lead to a syntax error.
5959
### Deleting Properties
6060

6161
The only way to actually remove a property from an object is to use the `delete`
62-
operator; setting the property to `undefined` or `null` only remove the
62+
operator; setting the property to `undefined` or `null` only removes the
6363
*value* associated with the property, but not the *key*.
6464

6565
var obj = {

0 commit comments

Comments
 (0)