Compare Strings (Case Insensitive)

Compare two strings ignoring case differences.

Code

General
str1.toLowerCase() === str2.toLowerCase();

Parameters

First string to compare

Second string to compare

Browser·fetch() may be limited by CORS

More JavaScript Snippets