0

Is there a difference in checking like so:

if (article.geolocation === null || article.geolocation === undefined){...}

vs.

if (!article.geolocation){...}

I know its a simple question. I am just unsure.

Edit: These two ifs produce different results for me.

Divide by Zero
  • 1,343
  • 1
  • 14
  • 37

0 Answers0