JSFiddle - React, Tailwind, and code Playground
by Joe Saad
JavaScript
var person = {firstName: "John", lastName: "Smith", age: "39", school : "Stanford"}
alert(person.school);
for (var key in person) {
if (person.hasOwnProperty(key)) {
alert(key + " -> " + person[key]);
}
}