]> git.cworth.org Git - lmno.games/commit
Avoid unnecessary use of fill(null)
authorCarl Worth <cworth@cworth.org>
Thu, 11 Jun 2020 01:04:16 +0000 (18:04 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 11 Jun 2020 01:04:16 +0000 (18:04 -0700)
commitbbbb65e60e043c8a60d362a6baa84e71dd4d2254
treeeca54d9c828b6145fee1d3ace69bb67bf5e91f53
parentab3973907487f6195270382e958b318ea8f2044c
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).
empathy/empathy.jsx