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

Показать описание
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
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