<p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/accessing-objects-properties-with-variables" rel="nofollow">Accessing Objects Properties with Variables</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/56.0.2924.87 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">Code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// Setup
var testObj = {
  12: &quot;Namath&quot;,
  16: &quot;Montana&quot;,
  19: &quot;Unitas&quot;
};
// Only change code below this line;
var playerNumber;       // Change this Line
var player = testObj;   // Change this Line"><pre class="notranslate"><span class="pl-c">// Setup</span>
<span class="pl-k">var</span> <span class="pl-s1">testObj</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
  <span class="pl-c1">12</span>: <span class="pl-s">"Namath"</span><span class="pl-kos">,</span>
  <span class="pl-c1">16</span>: <span class="pl-s">"Montana"</span><span class="pl-kos">,</span>
  <span class="pl-c1">19</span>: <span class="pl-s">"Unitas"</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">var</span> <span class="pl-s1">playerNumber</span><span class="pl-kos">;</span>       <span class="pl-c">// Change this Line</span>
<span class="pl-k">var</span> <span class="pl-s1">player</span> <span class="pl-c1">=</span> <span class="pl-s1">testObj</span><span class="pl-kos">;</span>   <span class="pl-c">// Change this Line</span></pre></div>
<p dir="auto">If you use this code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var playerNumber = 16;// Change this Line
testObj[playerNumber]
var player;   // Change this Line"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">playerNumber</span> <span class="pl-c1">=</span> <span class="pl-c1">16</span><span class="pl-kos">;</span><span class="pl-c">// Change this Line</span>
<span class="pl-s1">testObj</span><span class="pl-kos">[</span><span class="pl-s1">playerNumber</span><span class="pl-kos">]</span>
<span class="pl-k">var</span> <span class="pl-s1">player</span><span class="pl-kos">;</span>   <span class="pl-c">// Change this Line</span></pre></div>
<p dir="auto">The challenge will pass.<br>
...<br>
...<br>
However, the correct response is:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var playerNumber = 16;// Change this Line
var player = testObj[playerNumber];   // Change this Line"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">playerNumber</span> <span class="pl-c1">=</span> <span class="pl-c1">16</span><span class="pl-kos">;</span><span class="pl-c">// Change this Line</span>
<span class="pl-k">var</span> <span class="pl-s1">player</span> <span class="pl-c1">=</span> <span class="pl-s1">testObj</span><span class="pl-kos">[</span><span class="pl-s1">playerNumber</span><span class="pl-kos">]</span><span class="pl-kos">;</span>   <span class="pl-c">// Change this Line</span></pre></div>
<h4 dir="auto">Challenge Name</h4>

<p dir="auto">Accessing Objects Properties with Variables</p>
<h4 dir="auto">Issue Description</h4>

<p dir="auto"><a href="https://www.freecodecamp.com/challenges/accessing-objects-properties-with-variables#?solution=%0A%2F%2F%20Setup%0Avar%20testObj%20%3D%20%7B%0A%20%2012%3A%20%22Namath%22%2C%0A%20%2016%3A%20%22Montana%22%2C%0A%20%2019%3A%20%22Unitas%22%0A%7D%3B%0A%0A%2F%2F%20Only%20change%20code%20below%20this%20line%3B%0A%0Avar%20playerNumber%20%3D%2016%3B%2F%2F%20Change%20this%20Line%0AtestObj%5BplayerNumber%5D%0Avar%20player%20%3D%20%22Montana%22%3B%20%20%20%2F%2F%20Change%20this%20Line%0A" rel="nofollow">https://www.freecodecamp.com/challenges/accessing-objects-properties-with-variables#?solution=%0A%2F%2F%20Setup%0Avar%20testObj%20%3D%20%7B%0A%20%2012%3A%20%22Namath%22%2C%0A%20%2016%3A%20%22Montana%22%2C%0A%20%2019%3A%20%22Unitas%22%0A%7D%3B%0A%0A%2F%2F%20Only%20change%20code%20below%20this%20line%3B%0A%0Avar%20playerNumber%20%3D%2016%3B%2F%2F%20Change%20this%20Line%0AtestObj%5BplayerNumber%5D%0Avar%20player%20%3D%20%22Montana%22%3B%20%20%20%2F%2F%20Change%20this%20Line%0A</a></p>
<h4 dir="auto">Browser Information</h4>

<ul dir="auto">
<li>Browser Name, Version: latest firefox browswer</li>
<li>Operating System: windows 10</li>
<li>Mobile, Desktop, or Tablet: desktop</li>
</ul>
<h4 dir="auto">Your Code</h4>

<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
// Setup
var testObj = {
  12: &quot;Namath&quot;,
  16: &quot;Montana&quot;,
  19: &quot;Unitas&quot;
};

// Only change code below this line;

var playerNumber = 16;// Change this Line
testObj[playerNumber]
var player = &quot;Montana&quot;;   // Change this Line


"><pre class="notranslate"><span class="pl-c">// Setup</span>
<span class="pl-k">var</span> <span class="pl-s1">testObj</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
  <span class="pl-c1">12</span>: <span class="pl-s">"Namath"</span><span class="pl-kos">,</span>
  <span class="pl-c1">16</span>: <span class="pl-s">"Montana"</span><span class="pl-kos">,</span>
  <span class="pl-c1">19</span>: <span class="pl-s">"Unitas"</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">var</span> <span class="pl-s1">playerNumber</span> <span class="pl-c1">=</span> <span class="pl-c1">16</span><span class="pl-kos">;</span><span class="pl-c">// Change this Line</span>
<span class="pl-s1">testObj</span><span class="pl-kos">[</span><span class="pl-s1">playerNumber</span><span class="pl-kos">]</span>
<span class="pl-k">var</span> <span class="pl-s1">player</span> <span class="pl-c1">=</span> <span class="pl-s">"Montana"</span><span class="pl-kos">;</span>   <span class="pl-c">// Change this Line</span>

</pre></div>
<h4 dir="auto">Screenshot</h4>

<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/25807078/24818654/0148d33c-1ba7-11e7-9066-9fe22d63a19c.png"><img src="https://cloud.githubusercontent.com/assets/25807078/24818654/0148d33c-1ba7-11e7-9066-9fe22d63a19c.png" alt="image" style="max-width: 100%;"></a></p>