diff options
-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] || []; |