JSFiddle - React, Tailwind, and code Playground

by luka kupunia

JavaScript

const obj = [{name: "luka",age: 25},{name: "mariami",age: 20}]

const result = {}

obj.forEach((e,a,i) => {
	console.log(e,a,i)
})