aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--space.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/space.js b/space.js
index b0ffce9..2e19a1e 100644
--- a/space.js
+++ b/space.js
@@ -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] || [];