JavaScript is a case-sensitive language . This means that language keywords, variables, function names, and any other identifiers must always be typed with a consistent capitalization of letters.
Read moreHow do you lowercase an array?
To convert all array elements to lowercase:
Read moreIs indexOf case sensitive?
indexOf() methods are all case-sensitive .
Read moreCan you use indexOf for an array?
IndexOf(Array, Object, Int32) Searches for the specified object in a range of elements of a one-dimensional array, and returns the index of its first occurrence . The range extends from a specified index to the end of the array.
Read moreHow do you make an Array not case-sensitive?
To do a case insensitive check if an array contains a string in JavaScript:
Read moreHow do you ignore case-sensitive strings?
The equalsIgnoreCase() method compares two strings, ignoring lower case and upper case differences. This method returns true if the strings are equal, and false if not. Tip: Use the compareToIgnoreCase() method to compare two strings lexicographically, ignoring case differences.
Read moreHow do I make JavaScript not case-sensitive?
To do case insensitive search, you can use regular expressions and the String#match() function , or you can convert both the string and substring to lower case using the String#toLowerCase() function.
Read more