title: Read textfile lines and store the x- and y- values in an array (NodeJS)
body: <p>I'm trying to store X and Y values from a text file in an Array using NodeJS, but I actually have no clue how to do it .. </p>
  
  <p>The text file looks as follows: </p>
  
  <pre><code>X        Y
  385      0.12567 
  386      0.25786 
  387      0.35789 
  388      0.45798 
  ...      .......
  </code></pre>
  
  <p>So I'm trying to get Arrays looking like that: </p>
  
  <pre><code>arr[x]= 385, 386, 387, 388 ...  
  arr[y]= 0.12567, 0.25786, 0.35789, 0.45798  ..  
  </code></pre>
  
  <p>I hope you can help me!  </p>
  
  <p>JS </p>