Question 1: Which method is used to find the length of a string in JavaScript?
Question 2: Which method is used to convert a string to uppercase in JavaScript?
Question 3: Which method is used to extract a portion of a string and return it as a new string?
Question 4: Which JavaScript method is used to find the first occurrence of a specified value in a string?
Question 5: Which method joins two or more strings together?
Question 6: Which method is used to replace a specified value with another value in a string?
Question 7: Which method converts a string into an array of substrings based on a specified separator?
Question 8: Which method removes whitespace from both ends of a string?
Question 9: Which method checks whether a string starts with a specific character or substring?
Question 10: Which method returns the character at a specified index in a string?