Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to store words in an array in javascript

let words = 'never forget to empty your vacuum bags',
  wordArray = words.split(' ');

console.log(wordArray);
 Run code snippet
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #store #words #array #javascript
ADD COMMENT
Topic
Name
9+9 =