Class 32 | Javascript Example Case Sensitivity | Two String Compare #code #programming

preview_player
Показать описание
In the above program, the localeCompare() method is used to perform case insensitive string comparison.
The localeCompare() method returns a number that indicates whether a reference string comes before, or after, or is the same as the given string.
Here, { sensitivity: 'base' } treats A and a as the same.

Thankyou ❣️ Subscribers

@Becoming_developer
Рекомендации по теме
join shbcf.ru