Javascript Array toArrayInt()
toArrayInt()
Array.prototype.toArrayInt = function () { for (var i=0; i<this.length;i++) { this[i] = parseInt(this[i]); }//from ww w .j ava2 s . co m return this; };