title: Variable not getting the info assigned to it
body: <p>When I use this code the <code>musicData</code> comes out <code>undefined</code> even though I set it to <code>metaData</code>. Also, I know <code>metadata</code> has info in it.</p>
  <pre><code>let musicData;
  for(i = 0; i &lt; queue.length; i++) {
    queueString += i + 1 + &quot;: `&quot; + queue[i] + &quot;`\n&quot;;
    mm.parseFile(config.MUSIC_DIR + queue[i]).then( metadata =&gt; {musicData = metadata;});
    console.log(musicData);
  }
  </code></pre>