JSFiddle - React, Tailwind, and code Playground

by nerdycap007

JavaScript

var object = {
	name: "Aman",
  class: 12,
  id: "007"
}

for (var property in object) {
  if (object.hasOwnProperty(property)) {
    console.log(object[property])
  }
}