6 Cool Array Functions in ES6 You Must Know
6 ES6 Tricks That Make You Write Less And Do More.
1. Array.of
About the weird Array function:
As we all know, we can do the following things through the Array function.
- Initialize an array of the specified length
- Set the initial value of the array