JSFiddle - React, Tailwind, and code Playground

JavaScript

alert(1);
var person = new Array();
person["firstName"] = "John";
person["lastName"] = "Doe";
person["age"] = 46;
jQuery.each(person, function(index, item) {
    alert(index + " : " + item);
});