fix(curriculum): Technical language correction (#37812)
Technically, the prototype is not cloned; it is merely referenced.
This commit is contained in:
committed by
Jonathan Graham
parent
68d0a15dbd
commit
8af54eb272
@ -8,7 +8,7 @@ forumTopicId: 301322
|
||||
## Description
|
||||
<section id='description'>
|
||||
|
||||
In previous lessons, you learned that an object can inherit its behavior (methods) from another object by cloning its <code>prototype</code> object:
|
||||
In previous lessons, you learned that an object can inherit its behavior (methods) from another object by referencing its <code>prototype</code> object:
|
||||
|
||||
```js
|
||||
ChildObject.prototype = Object.create(ParentObject.prototype);
|
||||
|
Reference in New Issue
Block a user