repeat-element

Create an array by repeating the given value n times.

Browse on unpkg