title: How to convert Array of Strings with space into single Array list in Javascript?
body: <p>I have one array as below</p>
  
  <pre><code>var arr = ["john doe first", "robert way", "jason doe", "alex"];
  </code></pre>
  
  <p>Now i want to convert this array like below. </p>
  
  <pre><code>var result = ["john", "doe", "first", "robert", "way", "jason", 
  "doe", "alex"];
  </code></pre>
  
  <p>Quick explanation is i need convert each array element of string into array and reset it into the array. Array index is not important. 
  I tried arr.split(" ") even arr.toString() and then arr.split(" "). I don't know what i'm missing here.</p>