how to compare two strings in javascript case insensitive 34 How To Compare Two Strings In Javascript Case Insensitive Both are equal Using the equals () method − of the String class accepts a String as parameter and it compares the current s… Written By Anonymous Wednesday, August 4, 2021 Add Comment Edit