// package
repeat-element
type: "module"
// preferences
// replacements (1)
snippet::array-filled-with
Simple or drop-in replacementThis package is no longer necessary. You can use `new Array` with `Array.prototype.fill` to create an array filled with identical elements
// example
new Array(length).fill(item);