File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -743,7 +743,7 @@ element in the fifth row is (using zero-based indexing) stored at
743743position 4 × _ width_ + 2.
744744
745745The constructor function takes a width, a height, and an optional
746- content function that will be used to fill in the initial values.
746+ ` element ` function that will be used to fill in the initial values.
747747There are ` get ` and ` set ` methods to retrieve and update elements in
748748the matrix.
749749
@@ -944,7 +944,7 @@ superclass's constructor through the `super` keyword. This is necessary
944944because if this new object is to behave (roughly) like a ` Matrix ` , it
945945is going to need the instance properties that matrices have.
946946To ensure the matrix is symmetrical, the constructor wraps the
947- ` content ` method to swap the coordinates for values below the
947+ ` element ` function to swap the coordinates for values below the
948948diagonal.
949949
950950The ` set ` method again uses ` super ` but this time not to call the
Original file line number Diff line number Diff line change @@ -30,6 +30,12 @@ <h2>Chapter 2</h2>
3030< p > < strong > Page 34</ strong > (1st) < em > Updating Bindings Succintly</ em > : Where it
3131says < code > counter-</ code > it should be < code > counter--</ code > .</ p >
3232
33+ < h2 > Chapter 6</ h2 >
34+
35+ < p > < strong > Page 111</ strong > < em > Inheritance</ em > : In the second
36+ paragraph below the example code, instead of “< code > content</ code >
37+ method”, the text should say “< code > element</ code > function”.
38+
3339< h2 > Chapter 10</ h2 >
3440
3541< p > < strong > Page 168</ strong > (1st) < em > Modules as Building Blocks</ em > : In “each
You can’t perform that action at this time.
0 commit comments