Write Your JavaScript Code Here
Run
Black
Copy Code
// slipt():It splits a string into substring array, then returns that newly created array. let srt="say my name"; let srt1=srt.split(" "); console.log(srt1);
Output: