title: JavaScript Syntax Question - function returning "undefined"
body: <p>When I log this to the console it shows up as undefined. However, when I remove the braces in the function it logs the desired result. I'm confused -- aren't we always supposed to include curly braces in a function? Thank you all.</p>
  <pre><code>const shoutGreetings = arr =&gt; {
    arr.map(word =&gt; word.toUpperCase() + '!')
  };
  
  const greetings = ['hello', 'hi', 'heya', 'oi', 'hey', 'yo'];
  console.log(shoutGreetings(greetings))
  </code></pre>