JSFiddle - React, Tailwind, and code Playground
JavaScript
var i, test = [];
for(i=0; i<5; i++) {
test.push(i);
console.log( test.toString() );
}
var i, test = [];
for(i=0; i<5; i++) {
test.push(i);
console.log( test.toString() );
}