]> git.cworth.org Git - lmno.games/commit
Use an array spread syntax instead of .fill(null)
authorCarl Worth <cworth@cworth.org>
Sat, 20 Jun 2020 17:21:32 +0000 (10:21 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 20 Jun 2020 17:21:32 +0000 (10:21 -0700)
commite7e45fef427d3d76f7f88ca919c73e28de5a301b
tree24e0bb47353c3df6d4626e4f7c9b2f6b18103ea9
parentbc101387edcc19bf11d69d662b5ff46134795e3a
Use an array spread syntax instead of .fill(null)

I don't really need null items. In fact, the copy here with the appray
spread syntax gives undefined, not null items. All I need is items
that map() will actually act on. The initial Array(9) gives only
"empty" items which map() ignores.
scribe/scribe.jsx