JSFiddle - React, Tailwind, and code Playground

JavaScript

(function(){
var x = [];
x.push({
      a:1,
      b:2,
    },{
      a:4,
      b:3, 
    },{
      a:5,
      b:6
   },{
     a:7,
     b:8,
 })
console.log('Logging with , ', x);
console.log('Logging with + '+x);
}()
)