JavaScript: manipulate two Arrays
<p>I am just starting on JavaScript and getting lost on how to deal with this issue.</p>

<p>Here's the problem:</p>

<p>Five people, John, Ed, Sam, Alex and Mark are 16, 25, 18, 30 and 27 years old respectively.</p>

<p>I want to use arrays and functions to output the youngest and oldest of the five.</p>

<p>I tried to form two arrays i.e.</p>

<pre><code>var Name = ['John', 'Ed', 'Sam', 'Alex', 'Mark']; 
var Age =  [16, 25, 18, 30, 27];
</code></pre>

<p>I am finding it difficult to manipulate these arrays to get the required results.</p>

<p>What do I do to these arrays so that it can print for instance, that the youngest person is John and the oldest is Alex?</p>
