Skip to content

Commit 44b0c58

Browse files
committed
Add ignored function arguments in Chapter 6 example
Issue marijnh#376
1 parent 8787ab1 commit 44b0c58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

06_object.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ class, acting as a two-dimensional array.
687687

688688
```{includeCode: true}
689689
class Matrix {
690-
constructor(width, height, content = () => undefined) {
690+
constructor(width, height, content = (x, y) => undefined) {
691691
this.width = width;
692692
this.height = height;
693693
this.content = [];

0 commit comments

Comments
 (0)