title: Read lines from file in array
body: <p>I have file main.log something like :</p>
  
  <pre><code>10-01-1970 01:42:52 Bus_Power device 9 up
  10-01-1970 01:42:52 External_Power device 9 up
  10-01-1970 01:42:57 Bus_Power device 1 down
  10-01-1970 01:42:57 Bus_Power device 2 down
  </code></pre>
  
  <p>Every row is one data. How to parse this in array of rows using Dojo or plain JavaScript ?</p>
  
  <p>for example :</p>
  
  <pre><code>['10-01-1970 01:42:52 Bus_Power device 9 up','10-01-1970 01:42:52 External_Power device 9 up']
  </code></pre>