JSFiddle - React, Tailwind, and code Playground
JavaScript
var baseUrl="www.google.com"
var attributes = {
"type": "text/css",
"rel": "stylesheet",
"href": baseUrl + "Styles/HtmlLibrary.css"
};
var attributes1 = {
"type": "text/css",
"rel": "stylesheet",
"href": baseUrl + "Styles/jquery.contextMenu.css"
};
var k=[];
k.push(attributes);
k.push(attributes1)
//Since K has both the associative arrays now you can refer using
for(var i=0;i<k.length;i++)
{
console.log(k[i].type+" "+k[i].rel+" "+k[i].href)
}