JSFiddle - React, Tailwind, and code Playground

by JakobJingleheimer

HTML

<p></p>

JavaScript

var responses = {age:["23"], e_part:["0"], hispanic:[], race:[], sta_terr:["AL"], gender:["1"], cou_mun:["9999"], consent:["9999"]};
for (var key in responses) {
    var obj = responses[key];
    for (var prop in obj) {
        $("p").append(key + "=" + obj[prop] + "<br />");
    }
}