title: How to 'double' numbers in an array, and save it in a new array
body: <p>This is a 2 step problem:</p>
  
  <p>1.) I am trying to 'double' the contents of one array (original Array), save it in a new array (Doubled Array).  </p>
  
  <p>2.) Then assign those two arrays to an Object with 2 attributes. 
  New Object
  Orginal Numbers
  Doubled Numbers</p>
  
  <p>This is what I have so far, what am I doing wrong?</p>
  
  <pre><code>var numbers = [8, 12, 5, 2, 5, 7];
  var doubledNumbers = [];
  
  
  function doubled(arr){
   for (var i = 0; i &lt; arr.length; i ++){
    var dub = arr[i];
     var dubb = dub*2;
     doubledNumbers.push(dubb);
   }
  
  }
  
  var collectionNumbers = {
    orginialNumbers: numbers,
    doubledNumbers: doubled(numbers)
  };
  
  console.log(collectionNumbers);
  </code></pre>