So wiederholen Sie ein Array von Objekten n -mal in JavaScript
const makeRepeated = (arr, repeats) =>
[].concat(...Array.from({ length: repeats }, () => arr));
console.log(makeRepeated([1, 2, 3], 2));
Anxious Alligator