File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ literals act as objects too.
25
25
26
26
### Objects as a Data Type
27
27
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
29
29
of named properties mapping to values.
30
30
31
31
Using a object literal - ` {} ` notation - it is possible to create a
@@ -40,7 +40,7 @@ has no [own properties](#object.hasownproperty) defined on it.
40
40
### Accessing Properties
41
41
42
42
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.
44
44
45
45
var foo = {name: 'Kitten'}
46
46
foo.name; // kitten
@@ -59,7 +59,7 @@ the use of property names that would otherwise lead to a syntax error.
59
59
### Deleting Properties
60
60
61
61
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
63
63
* value* associated with the property, but not the * key* .
64
64
65
65
var obj = {
You can’t perform that action at this time.
0 commit comments