#Initialization style of multi-dimensional array.

1 messages · Page 1 of 1 (latest)

remote fable
#

they're about equivalent, so I'd say it's based on your preference

#

an array with all elements initialised to undefined is the same as an array as initialised to undefined

#

only time I'd prefer the latter is if I was initialising it to all 0s or something