Skip to content

Commit

Permalink
Merge pull request getify#794 from mmmaaatttttt/patch-1
Browse files Browse the repository at this point in the history
small typo fix
  • Loading branch information
getify authored Jul 12, 2016
2 parents 138c44d + b0de181 commit a252143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types & grammar/ch3.md
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ One minor side-benefit of this approach is that the `.prototype`s are already cr

Also, be very careful not to use `Array.prototype` as a default value **that will subsequently be modified**. In this example, `vals` is used read-only, but if you were to instead make in-place changes to `vals`, you would actually be modifying `Array.prototype` itself, which would lead to the gotchas mentioned earlier!

**Note:** While we're pointing out these native prototypes and some usefulness, be cautious of relying on them and even more wary of modifying them in anyway. See Appendix A "Native Prototypes" for more discussion.
**Note:** While we're pointing out these native prototypes and some usefulness, be cautious of relying on them and even more wary of modifying them in any way. See Appendix A "Native Prototypes" for more discussion.

## Review

Expand Down

0 comments on commit a252143

Please sign in to comment.