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.
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.
Web developer. Check out https://thewebdev.info. Email me at hohanga@gmail.com