JSFiddle - React, Tailwind, and code Playground
by alexdickson
JavaScript
Array.prototype.push = function(item) {
console.log(typeof item);
this[this.length] = item;
return this;
};
var arr = new Array();
arr.push('my');
console.debug(arr);