From 53aa7c67f4968e23db32e75b76c30fd3731102a5 Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Sat, 28 Dec 2019 13:26:01 -0500 Subject: minor simplifying edit --- space.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; } } -- cgit