v1
4/18/2020 by ygorbunkov -00
Setup HTML - click to add setup HTML
disable setup JavaScript
Setup JavaScript
const items = Array.from(
  {length:1000},
  (_,i) => ({name:'prop'+i, value:Array.from({length:Math.random()*10|0}, () => Math.random()*100|0)})
)
delete caserun single casemove downdrag and drop case


ready



const newObj = Object.fromEntries(
  items.map(({ name, value }) => [name, value])
)

console.log(newObj)
delete caserun single casemove updrag and drop case


ready



const result = items.reduce((r,{name,value}) => (r[name]=value,r), {})

console.log(result)
Test Case - click to add another test case
Teardown JS - click to add teardown JavaScript
Output (DOM) - click to monitor output (DOM) while test is running
RUN