Question: What does the variable string contain after the following code is executed? var string = Good luck on the test; string = string.split (
What does the variable string contain after the following code is executed?
var string "Good luck on the test";
string string.split;
Question options:
the string "Good.luck.onthe.test"
Nothing, the string conversion will generate an error.
an array containing the strings "Good", "luck", on "the" and "test"
the string "Good,luck,onthe,test"
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
