JSFiddle - React, Tailwind, and code Playground

JavaScript

arr = []; 
arr.push('a');
arr.push(1);
arr.push('b');
arr.push(2);
arr.push('c');
arr.push(3);

/* Want to create an object that is of type : */ 

var ob = {a:1 , b:2 , c:3}

console.log(ob)