How to put multiple objects in an empty array

how do I put multiple objects in an empty array? It doesn"t seem to work with push? Ask for advice

Mar.20,2021

what is the wrong way? Show me the code?


push cannot be separated by commas?


let arr = []
for(let i = 0; i < 5; iPP) {
    arr.push({name: 123})
}

No?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3a43b-2c1e0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3a43b-2c1e0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?