Who's correct

Report a typo

Michael and Jordan have an argument. Both of them have different perspectives on the single method in JavaScript. Michael says that the split() method returns a new string whereas Jordan argues that the split() method returns an array that contains strings as the array's elements. Can you help them figure out who is correct?

Select one option from the list
___

Create a free account to access the full topic