title: how to insert content of text file into javascript array
body: <p>I have a text file containing a series of questions with multiple choices, and I would like to insert them in a multidimensional array. The questions at <code>array[0][0]</code> and multiple choices in <code>array[0][1]</code>, <code>array[0][2]</code>.... and so on. But I don't know how to open the file and then proceed to insert into array in javascript
  text file format</p>
  
  <pre><code>what is 2 + 2?
  2
  4
  6
  </code></pre>