Skip to content

Commit 8803e8a

Browse files
committed
Remove confusing ECMAScript 5 reference (fixes nzakas#299)
1 parent 748b04d commit 8803e8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manuscript/04-Objects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ The actual value of an object's prototype is stored in an internal-only property
363363

364364
### Easy Prototype Access with Super References
365365

366-
As previously mentioned, prototypes are very important for JavaScript and a lot of work went into making them easier to use in ECMAScript 6. Another improvement is the introduction of `super` references, which make accessing functionality on an object's prototype easier. For example, to override a method on an object instance such that it also calls the prototype method of the same name, you'd do the following in ECMAScript 5:
366+
As previously mentioned, prototypes are very important for JavaScript and a lot of work went into making them easier to use in ECMAScript 6. Another improvement is the introduction of `super` references, which make accessing functionality on an object's prototype easier. For example, to override a method on an object instance such that it also calls the prototype method of the same name, you'd do the following:
367367

368368
```js
369369
let person = {

0 commit comments

Comments
 (0)