fix(curriculum): Technical language correction (#37812)
Technically, the prototype is not cloned; it is merely referenced.pull/37873/head
parent
68d0a15dbd
commit
8af54eb272
|
@ -8,7 +8,7 @@ forumTopicId: 301322
|
||||||
## Description
|
## Description
|
||||||
<section id='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
|
```js
|
||||||
ChildObject.prototype = Object.create(ParentObject.prototype);
|
ChildObject.prototype = Object.create(ParentObject.prototype);
|
||||||
|
|
Loading…
Reference in New Issue