JSFiddle - React, Tailwind, and code Playground
by vinodlouis
JavaScript
let f = {}
for(let i=52; i<68; i++ ){
console.log(f)
let obj = {
"CPU Utlilization" : Math.random(),
"EEI" : Math.random(),
"HEAT" : 4000 + Math.random() * 1500
}
//f[`POWEREDGE_R710_10${i}`] = obj
console.log(f)
}
console.log(JSON.stringify(f))