Beginner JavaScript
Q35 / 100

What does String.prototype.split() return?

Correct! Well done.

Incorrect.

The correct answer is B) An array of substrings split at the specified delimiter

B

Correct Answer

An array of substrings split at the specified delimiter

Explanation

"a,b,c".split(",") returns ["a","b","c"]. split("") returns an array of individual characters.

Progress
35/100