const arr = [
{a: 1, b: 2, c: 3}
]
const arr = [
{a: 1, b: 2, c: 3},
{a: 1, b: 2, c: 3},
{a: 1, b: 2, c: 3},
{a: 1, b: 2, c: 3},
{a: 1, b: 2, c: 3},
]
arr.push(arr[0], arr[0], arr[0])
const arr = [
{a: 1, b: 2, c: 3}
]
for (let i = 1; i < 4; i++) {
arr.push({...arr[0]})
}
console.log(arr)
const arr = [
{a: 1, b: 2, c: 3}
]
arr.push(...[{...arr[0]}, {...arr[0]},{...arr[0]}])
arr[1].d = 4
console.log(arr)
const arr = [
{a: 1, b: 2, c: 3}
]
arr.push(...[arr[0], arr[0],arr[0]])
arr[1].d = 4
console.log(arr)