JS Challenge: Create an array and fill with serial numbers
The following code creates and fills an array with numbers 0 to 9    [...Array(10).keys()]       ...
Tags: javascript, javascripttips, oneliners, arrays