Merging Arrays Using Javascript
<p>I apologise if this question has already been asked on here before but I cant find it.</p>

<p>Im having trouble merging two arrays together and im an absolute beginner with javascript.</p>

<p>I need to do this in pure javascript and not use any library code.</p>

<p>Here is the code;</p>

<pre><code>var greetings = [
  'Hello',
  'Bonjour',
  'Ola',
],

names = {
  'One': 'Bill',
  'Two': 'John',
  'Three': 'Paul',
};
</code></pre>

<p>What I would like the result to appear as would be the following in an unordered list as well as each statement being in there own seperate list item;</p>

<pre><code>&lt;ul&gt;
   &lt;li&gt;Hello Bill&lt;/li&gt;&lt;br/&gt;
   &lt;li&gt;Bonjour John&lt;/li&gt;&lt;br/&gt;
   &lt;li&gt;Ola Paul&lt;/li&gt;&lt;br/&gt;
&lt;/ul&gt;
</code></pre>

<p>If anyone could answer this question, as well as comment the code so I can understand how it works that would be perfect.</p>
