aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolden Rohrer <holden.rohrer@gmail.com>2019-12-28 13:26:01 -0500
committerHolden Rohrer <holden.rohrer@gmail.com>2019-12-28 13:26:01 -0500
commit53aa7c67f4968e23db32e75b76c30fd3731102a5 (patch)
treec9bb78d999bfb2959984002adcb930ff01fefcee
parent7c78934d3ca598b3d84e88d9e26ed46f7f16171d (diff)
minor simplifying edit
-rw-r--r--space.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/space.js b/space.js
index d94a212..d4e4567 100644
--- a/space.js
+++ b/space.js
@@ -43,7 +43,7 @@ function Space(){
if (conform && incl.includes(line)){
for (let i=0; i<16; i++) this.data[curline].push(' ');
} else {
- Array.prototype.push.apply(this.data[curline],cont[read].split(''));
+ this.data[curline].push(...cont[read]);
read++;
}
}