From: Carl Worth Date: Thu, 11 Jun 2020 01:04:16 +0000 (-0700) Subject: Avoid unnecessary use of fill(null) X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=commitdiff_plain;h=bbbb65e60e043c8a60d362a6baa84e71dd4d2254;hp=bbbb65e60e043c8a60d362a6baa84e71dd4d2254 Avoid unnecessary use of fill(null) Where we can just use a spread-syntax array copy for the same effect, (namely, ensuring an array has actual items (even if undefined) rather than "empty" so that map() actually does something). ---