dsa | sp javascript string | Question 13

Last Updated :
Discuss
Comments

Which method is used to check if a string ends with a specific substring?

a. endsWith()

b. finishWith()

c. end()

d. terminate()

Share your thoughts in the comments