title: accessing values in arrays without throwing errors
body: <p>I am relatively new to React development. I had a quick question. If I had an object like this:</p>
  <pre><code>var person = {firstName:&quot;John&quot;, lastName:&quot;Doe&quot;, age:50, eyeColor:&quot;blue&quot;};
  </code></pre>
  <p>I know that I can access the value of John by saying person['firstName']. But what if we did not know that firstName would be there. How can we try to access it without throwing an error if it is there.</p>
  <p>I know that we can use trys and excepts but I plan on having 20-30 of these objects so I do not think it would be wise to have that many trys and except structures. Is there an easier way to do this?</p>