title: use reduce to extend enumerable properties of source object(s) to the destination object
body: <p>I'm working on a JavaScript function that will assign the enumerable properties of a source object (or objects-- that's important) to the destination object. An additional stipulation is that subsequent sources overwrite the property assignments of previous sources.</p>
  
  <p>I have indeed searched and read many similar questions, but I run into trouble for a couple reasons. To be honest, I've been stuck on it for three days.</p>
  
  <p>Trouble spot 1: The boilerplate provided is just <code>function extend(){}</code> with no parameters. I'm not sure whether or not to add arguments. I'm sure it could be written either way.</p>
  
  <p>Trouble spot 2: I can write code that successfully extends one object to another, but nothing that extends from multiple sources.</p>
  
  <p>So for example, if the function were to be called thusly:</p>
  
  <p><code>extend({ 'name': 'lola' }, { 'age': 9 }, { 'name': 'mickey' });</code></p>
  
  <p>The result should be <code>{ 'user': 'mickey', 'age': 9 }</code></p>
  
  <p>Guidance is greatly appreciated.</p>