endsWith() method returns a Boolean value indicates whether a string ends with the characters of a specified string.
endsWith() method is case sensitive.
endsWith() with searchValue
|searchValue||Required||Specifies the characters to be searched for at the end of this string.|
|length||optional||Specifies length or limit of string to search.|
If omitted, the default value is the length of the string.
|true||If the given characters are found at the end of the string|
|false||If the given characters are not found at the end of the string|
endsWith() with searchValue and length
Please do google search for:
Join Our Channel
This channel is primarily useful for Full Stack Web Developer.