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?
Basic string methods
Who's correct
Report a typo
Select one option from the list
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.