Split Strings with splits

Split Strings with splits
0.0 0

#1

Tell us what’s happening:

hi guys , could help me plzzzz

Your code so far

var string = "Split me into an array";
var array = [];

// Only change code below this line.

array = string;

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36.

Link to the challenge:


#2

You should split the string by its spaces.

What have you tried?


#3

var string = “Split me into an array”;
var array = [];

// Only change code below this line.

array = string.split(’ ');

i solved this problem , this mistake was in (’’) i have to make space between single quotation ,
I did not pay attention to this anymore
Thanks for paying attention