?
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.
Join the Discussion
Login to post a comment or share your explanation.
Login