ExamVeda
Login
Home
This question belongs to Javascript Classes And Modules
Classes and Modules
?

What would be the result of the following statement in JavaScript using regular expression methods ?

Answer & Solution
Correct Answer: Option B
The split() method can take regular expressions as its arguments. The split() method generally breaks the string on which it is called into an array of substrings, using the argument as a separator.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.