<p dir="auto">Challenge <a href="http://www.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.tails%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 (iPad; CPU OS 9_2 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13C75 Safari/601.1</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.tails;

// 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">tails</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">Thanks to Thad for reporting. His words:</p>
<p dir="auto">I have a question about the code output area. I'm referring to the area just under the Reset, Help and Bug buttons on the left side of the page at FCC. It seems that there was a change to how that functions in the past few days.</p>
<p dir="auto">In the past, when it was dictated that an array should show up in the code output area, it was displayed just like an array...["Split", "me", "into", "an", "array"]. Now, since the change a few days ago, it displays like...Split, me, into, an, array. I've attached a screenshot.</p>
<p dir="auto">Is this the desired output or is it a bug? If it's the desired output, it doesn't seem very useful. If the answer is supposed to be an array, it's reasonable to expect to see an array (not just the array items) displayed there.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/713ee0d4234e2bd029568de6fd74fcbe909efe43d51cef8c9f232b4ab305459c/68747470733a2f2f7777772e657665726e6f74652e636f6d2f6c2f41715470354d4a64433146506d34575f756a6f5041626649496f6c6f5a383068347467422f696d6167652e706e67"><img src="https://camo.githubusercontent.com/713ee0d4234e2bd029568de6fd74fcbe909efe43d51cef8c9f232b4ab305459c/68747470733a2f2f7777772e657665726e6f74652e636f6d2f6c2f41715470354d4a64433146506d34575f756a6f5041626649496f6c6f5a383068347467422f696d6167652e706e67" alt="" data-canonical-src="https://www.evernote.com/l/AqTp5MJdC1FPm4W_ujoPAbfIIoloZ80h4tgB/image.png" style="max-width: 100%;"></a></p>