John Au-Yeung
1 min readDec 11, 2019

--

Maps can be converted to arrays with key-value pairs with the spread operator, so arrays can be an alternative.

Maps are more useful for non-numeric keys since arrays don’t have that.

--

--

No responses yet