Javascript String equalsIgnoreCase(otherStr)

Description

Javascript String equalsIgnoreCase(otherStr)


String.prototype.equalsIgnoreCase = function (otherStr) {
    return this.toLowerCase() === otherStr.toLowerCase();
}



PreviousNext

Related