JSFiddle - React, Tailwind, and code Playground
by gRoberts
JavaScript
var test1 = [];
test1['Gavin'] = 'Roberts';
console.log('A');
$(test1).each(function(item, key) {
console.log([item, key]);
});
console.log('B');
for(var i in test1) {
console.log([i, test1[i]]);
}