<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-increment-a-number-with-javascript#?solution=var%20myVar%20%3D%2087%3B%0A%0A%2F%2F%20Only%20change%20code%20below%20this%20line%0AmyVar%20%3D%20myVar%2B%2B%3B%0A%0A" rel="nofollow">Waypoint: Increment a Number with Javascript</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</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="var myVar = 87;

// Only change code below this line
myVar = myVar++; "><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">myVar</span> <span class="pl-c1">=</span> <span class="pl-c1">87</span><span class="pl-kos">;</span>

<span class="pl-c">// Only change code below this line</span>
<span class="pl-s1">myVar</span> <span class="pl-c1">=</span> <span class="pl-s1">myVar</span><span class="pl-c1">++</span><span class="pl-kos">;</span> </pre></div>
<p dir="auto">This code returns <code class="notranslate">87</code>, but in test is number <code class="notranslate">88</code>, for which works <code class="notranslate">myVar = ++myVar;</code>, but that does not pass "Use the ++ operator".</p>
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-decrement-a-number-with-javascript#?solution=var%20myVar%20%3D%2011%3B%0A%0A%2F%2F%20Only%20change%20code%20below%20this%20line%0AmyVar%20%3D%20myVar--%3B%0A%0A" rel="nofollow">Waypoint: Decrement a Number with Javascript</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</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="var myVar = 11;

// Only change code below this line
myVar = myVar--;"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">myVar</span> <span class="pl-c1">=</span> <span class="pl-c1">11</span><span class="pl-kos">;</span>

<span class="pl-c">// Only change code below this line</span>
<span class="pl-s1">myVar</span> <span class="pl-c1">=</span> <span class="pl-s1">myVar</span><span class="pl-c1">--</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">This code returns <code class="notranslate">11</code>, but in test is number <code class="notranslate">10</code>, for which works <code class="notranslate">myVar = --myVar;</code>, but that does not pass "Use the -- operator on myVar".</p>