Skip to content

Commit 9600052

Browse files
committed
Remove backticks around "override"
This is a straightforward fix to eliminate any confusion that "override" might be a JavaScript keyword. Words rendered as code imply they are either a variable name or a reserved word. In this case, "override" is intended merely to convey its plain English meaning, and so should not be rendered as code.
1 parent e2853cd commit 9600052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

objects/prototype.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ var stringRepresentation = adult.toString();
1515
// the variable has value of '[object Object]'
1616
```
1717

18-
`toString` is an Object.prototype's property, which was inhereted. It has a value of a function, which returns a string representation of the object. If you want it to return a more meaningful representation, then you can `override` it. Simply add a new property to the adult object.
18+
`toString` is an Object.prototype's property, which was inhereted. It has a value of a function, which returns a string representation of the object. If you want it to return a more meaningful representation, then you can override it. Simply add a new property to the adult object.
1919

2020
```js
2121
adult.toString = function(){

0 commit comments

Comments
 (0)