title: Very simple SD function
body: <pre><code>var orangeCost = function (pricePerOrange, amountOfOranges) {
  
      var totalCost = pricePerOrange * amountOfOranges;
      console.log(totalCost + " Dollar total cost");
  };
  
  orangeCost(5, 5);
  </code></pre>
  
  <pre class="lang-none prettyprint-override"><code>25 Dollar total cost
  
  NaN Dollar total cost
  </code></pre>
  
  <p>Why does it also log the "NaN" part instead of only the 25 Dollar stuff ?</p>
  
  <p>thank you</p>