<p dir="auto">The instructions are: "Let's delete the "tails" property from myDog."</p>
<p dir="auto">and the test being run is "Delete the property "bark" from myDog." The test should test whether the key-value pair for tails prop is removed.</p>
<p dir="auto">Challenge <a href="http://freecodecamp.com/challenges/waypoint-delete-properties-from-a-javascript-object#?solution=var%20ourDog%20%3D%20%7B%0A%20%20%22name%22%3A%20%22Camper%22%2C%0A%20%20%22legs%22%3A%204%2C%0A%20%20%22tails%22%3A%201%2C%0A%20%20%22friends%22%3A%20%5B%22everything!%22%5D%2C%0A%20%20%22bark%22%3A%20%22bow-wow%22%0A%7D%3B%0A%0Adelete%20ourDog.bark%3B%0A%0Avar%20myDog%20%3D%20%7B%0A%20%20%22name%22%3A%20%22Happy%20Coder%22%2C%0A%20%20%22legs%22%3A%204%2C%0A%20%20%22tails%22%3A%201%2C%0A%20%20%22friends%22%3A%20%5B%22Free%20Code%20Camp%20Campers%22%5D%2C%0A%20%20%22bark%22%3A%20%22woof%22%0A%7D%3B%0A%0A%2F%2F%20Only%20change%20code%20below%20this%20line.%0A%0Adelete%20myDog.bark%3B%0A%0A%2F%2F%20Only%20change%20code%20above%20this%20line.%0A%0A%28function%28z%29%7Breturn%20z%3B%7D%29%28myDog%29%3B%0A" rel="nofollow">Waypoint: Delete Properties from a JavaScript Object</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 10.0; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0</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 ourDog = {
  &quot;name&quot;: &quot;Camper&quot;,
  &quot;legs&quot;: 4,
  &quot;tails&quot;: 1,
  &quot;friends&quot;: [&quot;everything!&quot;],
  &quot;bark&quot;: &quot;bow-wow&quot;
};

delete ourDog.bark;

var myDog = {
  &quot;name&quot;: &quot;Happy Coder&quot;,
  &quot;legs&quot;: 4,
  &quot;tails&quot;: 1,
  &quot;friends&quot;: [&quot;Free Code Camp Campers&quot;],
  &quot;bark&quot;: &quot;woof&quot;
};

// Only change code below this line.

delete myDog.bark;

// Only change code above this line.

(function(z){return z;})(myDog);
"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">ourDog</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
  <span class="pl-s">"name"</span>: <span class="pl-s">"Camper"</span><span class="pl-kos">,</span>
  <span class="pl-s">"legs"</span>: <span class="pl-c1">4</span><span class="pl-kos">,</span>
  <span class="pl-s">"tails"</span>: <span class="pl-c1">1</span><span class="pl-kos">,</span>
  <span class="pl-s">"friends"</span>: <span class="pl-kos">[</span><span class="pl-s">"everything!"</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
  <span class="pl-s">"bark"</span>: <span class="pl-s">"bow-wow"</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>

<span class="pl-k">delete</span> <span class="pl-s1">ourDog</span><span class="pl-kos">.</span><span class="pl-c1">bark</span><span class="pl-kos">;</span>

<span class="pl-k">var</span> <span class="pl-s1">myDog</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
  <span class="pl-s">"name"</span>: <span class="pl-s">"Happy Coder"</span><span class="pl-kos">,</span>
  <span class="pl-s">"legs"</span>: <span class="pl-c1">4</span><span class="pl-kos">,</span>
  <span class="pl-s">"tails"</span>: <span class="pl-c1">1</span><span class="pl-kos">,</span>
  <span class="pl-s">"friends"</span>: <span class="pl-kos">[</span><span class="pl-s">"Free Code Camp Campers"</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
  <span class="pl-s">"bark"</span>: <span class="pl-s">"woof"</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>

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

<span class="pl-k">delete</span> <span class="pl-s1">myDog</span><span class="pl-kos">.</span><span class="pl-c1">bark</span><span class="pl-kos">;</span>

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

<span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">z</span><span class="pl-kos">)</span><span class="pl-kos">{</span><span class="pl-k">return</span> <span class="pl-s1">z</span><span class="pl-kos">;</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-s1">myDog</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Issue:<br>
Properties box says:<br>
"Let's delete the "tails" property from myDog."<br>
Test success statement:<br>
"Delete the property "bark" from myDog."</p>
<p dir="auto">Test succeeds on deleting bark property, not tails.</p>