JSFiddle - React, Tailwind, and code Playground
by Ansmtz
JavaScript
const arr = []
let i = 0
while(i < 10){
arr.push({
id: i,
name: 'hello_'+i
})
i += 3
}
console.log(arr)
by Ansmtz
const arr = []
let i = 0
while(i < 10){
arr.push({
id: i,
name: 'hello_'+i
})
i += 3
}
console.log(arr)