how to compare strings in javascript ignoring case sensitive
const str1 = '[email protected]';
const str2 = '[email protected]';
str1 === str2; // false
str1.toLowerCase() === str2.toLowerCase(); // true
Also in JavaScript:
- js delete all array items
- json serializer skip property
- update url parameters and create history entry
- js fill string with n characters
- exponent in javascript
- parsefloat js
- ternaire javascript
- jquery number format comma
- base64 decode javascript
- textinput onpress react native
- javascript set color in hex
- js get url parameter
- SyntaxError: Unexpected end of JSON input while parsing near '...version":"2.0.6","devD' cli
- foreach vuejs template
- how to access array datat in class component react
- args slice discord.js
- push item to array js
- drupal 8 attach js library
- outputstream to image js example
- js crpyto generate safe token
- javascript remove last charter stings
- addeventlistener js to change style
- javascript press tab key
- nodejs response is html not json data