JSFiddle - React, Tailwind, and code Playground
by g30rg3
JavaScript
Array.prototype.max = function(){
return Math.max.apply(null,this);
}
alert([1,2,3,4,5].max());
by g30rg3
Array.prototype.max = function(){
return Math.max.apply(null,this);
}
alert([1,2,3,4,5].max());