dsa | sp javascript string | Question 8

Last Updated :
Discuss
Comments

Which method is used to return the length of a string in JavaScript?

a. length()

b. size()

c. count()

d. getSize()

Share your thoughts in the comments