<p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/friendly-date-ranges#?solution=%2F*%20jshint%20esversion%3A%206%2C%20asi%3A%20true%2C%20laxcomma%3A%20true%20*%2F%0A%0Afunction%20makeFriendlyDates(arr)%20%7B%0A%20%20const%20date1%20%3D%20arr%5B0%5D.split('-')%0A%20%20%20%20%20%20%2C%20date2%20%3D%20arr%5B1%5D.split('-')%0A%20%20%0A%20%20%0A%20%20%0A%20%20return%20arr%3B%0A%7D%0A%0AmakeFriendlyDates(%5B'2016-07-01'%2C%20'2016-07-04'%5D)%3B%0A%0A%2F*%0A%20%20use%20ordinal%20dates%2C%20not%20cardinal%20(1st%2C%202nd%2C%20etc)%0A%20%20no%20redundant%20info.%20%20if%20date%20range%20ends%20less%20than%20a%20year%20from%20when%20it%20begins%2C%20do%20not%20display%20ending%20year%0A%20%20%0A*%2F" rel="nofollow">Friendly Date Ranges</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36</code>.</p>
<p dir="auto">No major problem, but the challenge tells us the current year is 2016.  I'm also not sure if the challenge will be checking in some way that considers the current year as 2016.</p>
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/passing-values-to-functions-with-arguments#?solution=%2F%2F%20Example%0Afunction%20ourFunction%28a%2C%20b%29%20%7B%0A%20%20console.log%28a%20-%20b%29%3B%0A%7D%0AourFunction%2810%2C%205%29%3B%20%2F%2F%20Outputs%205%0A%0A%2F%2F%20Only%20change%20code%20below%20this%20line.%0A%0Afunction%20myFunction%28c%2C%20d%29%7B%0A%20%20console.log%28c%20%2B%20d%29%3B%0A%7D%0AmyFunction%281%2C2%29%3B" rel="nofollow">Passing Values to Functions with Arguments</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">Put this code in Chrome dev tools and got 3. Run it on FCC and get this error, please advise.</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// Example
function ourFunction(a, b) {
  console.log(a - b);
}
ourFunction(10, 5); // Outputs 5

// Only change code below this line.

function myFunction(c, d){
  console.log(c + d);
}
myFunction(1,2);"><pre class="notranslate"><span class="pl-c">// Example</span>
<span class="pl-k">function</span> <span class="pl-en">ourFunction</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-s1">b</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
  <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">a</span> <span class="pl-c1">-</span> <span class="pl-s1">b</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-en">ourFunction</span><span class="pl-kos">(</span><span class="pl-c1">10</span><span class="pl-kos">,</span> <span class="pl-c1">5</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Outputs 5</span>

<span class="pl-c">// Only change code below this line.</span>

<span class="pl-k">function</span> <span class="pl-en">myFunction</span><span class="pl-kos">(</span><span class="pl-s1">c</span><span class="pl-kos">,</span> <span class="pl-s1">d</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
  <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">c</span> <span class="pl-c1">+</span> <span class="pl-s1">d</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-en">myFunction</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">,</span><span class="pl-c1">2</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>