The startsWith() method determines whether a string begins with the characters of a specified string, returning true or false as appropriate.
The endsWith() method determines whether a string ends with the characters of a specified string, returning true or false as appropriate.
🔔 Subscribe for more videos like this : https://www.youtube.com/c/CodeCanvas?sub_confirmation=1