1.
How do you declare a string in JavaScript?
2.
Which method is used to find the length of a string?
3.
How do you convert a string to uppercase in JavaScript?
4.
Which method would you use to check if a string contains a specified substring?
5.
What does the charAt() method do?
6.
How do you extract a part of a string in JavaScript?
7.
What is the result of "Hello".concat(" ", "World")?
8.
Which method would you use to replace a part of a string with another string?
9.
How do you trim whitespace from the beginning and end of a string?
10.
What does the split() method do?