title: How to add text to end of each array element using map?
body: <p>I am trying to write a function that maps over an array and add a string of text to the end of each element in the array. When I do a console.log I just get <code>undefined</code>. Any help would be greatly appreciated.</p>
  
  <p>Here is the array:</p>
  
  <pre><code>let arr = ["England","Scotland","Westeros"];
  </code></pre>
  
  <p>Here is what I am trying: </p>
  
  <pre><code>dragonMapper = (arr) =&gt; {
    let newArr = arr.map(function(e) {
      e += '...here be dragons'
    });
    return newArr;
  }
  
  console.log(dragonMapper(newArr));
  </code></pre>
  
  <p>This is what I want the array to be after the function is executed:</p>
  
  <pre><code>["England...here be dragons","Scotland...here be dragons","Westeros...here be dragons"];
  </code></pre>