GeezerVison is showing github.com — corrected typo for objects/prototype · Codecmb/javascript-gitbook@d9fb661
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: objects/prototype.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -9,7 +9,7 @@ var adult = {age: 26}, |
9 | 9 | retrievedProperty = adult.age; |
10 | 10 | // The line above |
11 | 11 | ``` |
12 | | -Firsty, the interpreter looks through every property the object itself has. For example, `adult` has only one own property — `age`. But besides that one it actually has a few more properties, which were inherited from Object.prototype. |
| 12 | +First, the interpreter looks through every property the object itself has. For example, `adult` has only one own property — `age`. But besides that one it actually has a few more properties, which were inherited from Object.prototype. |
13 | 13 | ```js |
14 | 14 | var stringRepresentation = adult.toString(); |
15 | 15 | // the variable has value of '[object Object]' |
|