diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-07-17 21:21:46 -0400 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-07-17 21:21:46 -0400 |
commit | 4b903aea15529fe441bcb8189076b99e79542a23 (patch) | |
tree | 0945c4db03c7efd203ed02dcb3edaccd72119d41 | |
parent | 95e181a300f0370968430d5e7c4f30ddd7ce38e1 (diff) |
oops broken space (forgot a let)
-rw-r--r-- | space.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -184,7 +184,7 @@ class Space{ subsection(range){ // range is a coordinate pair if (range.length !== 2 || range[0].length !== 2) throw "not subsecting a coord pair"; // Similarly excludes this.loc - newspace = new Space(); + let newspace = new Space(); for (let line=range[0][0]; line<range[1][0]; line++){ newspace.data.push([]); let thisline = this.data[line] || []; |