title: Don't render null from JavaScript object's value
body: <p>I'm looking for most efficient way to output <code>empty string</code> instead of <code>"null"</code> for <code>null</code> values. Is there a way to do this <strong>without</strong> conditional statements (i.e. <code>if</code> or ternary (<code>? :</code>) operator).</p>
  
  <p>Code sample as follows:</p>
  
  <pre><code>$.each(data, function(index, item) {
    return $("div#SearchResults").append(item.PhoneNumber);
  }
  </code></pre>
  
  <p>when <code>item.PhoneNumber is null</code>, the page renders with a string "<strong>null</strong>" inside the <code>SearchResults div</code>, instead I wanted to be <strong>empty</strong>.</p>