title: React Js look at items in array and check for null
body: <p>I have an array that i am getting from my Web API and I want to be able to check for any null fields and if they are change them from null to <code>''</code> how would i go about this </p>
  
  <p>to read the actual array i need to do this</p>
  
  <pre><code>console.log(result.data[0])
  </code></pre>
  
  <p>which will return the BuildingNumber as null. how would i check every item if it is null or not as if your on a different person they might have multiple null fields.</p>