Searching for a stylish solution (without using a for loop) to generate a sequential array in Javascript that begins with a specific number and contains a set number of elements. For instance:
Commencing with 2017 and including 4 items would appear as follows:
[2017, 2018, 2019, 2020]
Appreciate any assistance.