Javascript Array toArrayInt()

Description

Javascript Array 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;
};



PreviousNext

Related