What will be the output of the above code snippet?
var str=This is a sample string;
var output=str.split(,);
document.write(output);
Reveal answer
Fill a bubble to check yourself
What will be the output of the above code snippet?
var str=This is a sample string;
var output=str.split(,);
document.write(output);