split string into individual words javascript code example
Example: javascript split sentence into words
// split sentence into words
sentence.split(' '); // split the string on the spaces
// split sentence into words
sentence.split(' '); // split the string on the spaces