Javascript String getKeyCode()

Description

Javascript String getKeyCode()


String.prototype.getKeyCode = function () {
    return this.toUpperCase().charCodeAt(0);
};



PreviousNext

Related