title: Getting Undefined stored into array
body: <p>I'm trying to run the following code<img src="https://i.stack.imgur.com/jyTYa.png" alt="enter image description here"></p>
  
  <p>I would like to store the contents of the log file into user defined array. How can I do that. Please help me out. Thanks in advance</p>