JSFiddle - React, Tailwind, and code Playground
JavaScript
Array.prototype.push = function(item) {
this[this.length] = '<<' + item + '>>';
return this;
};
var arr = new Array();
arr.push('my');
console.debug(arr);
console.debug(arr[0]);
arr.push('name');
console.debug(arr);
console.debug(arr[1]);
arr.push('is');
console.debug(arr);
console.debug(arr[2]);