JSFiddle - React, Tailwind, and code Playground

by thecodeparadox

JavaScript

var d = {
    city: [{
       region: '',
       name: '',
       type: ''
    }]
};

$.each(d.city, function() {
  console.log(this.region);
  console.log(this.name); // etc
});