title: Check If statement is true or false by using javascript Truthy and Falsy Value VS '===' operator
body: <p>I have search a lot and i got multiple way to check if statement is true or false. I found the standard function to check for null, undefined, or blank variables is to use truthy value like.</p>
  
  <pre><code>  if(value) { }
  </code></pre>
  
  <p><a href="https://stackoverflow.com/questions/5515310/is-there-a-standard-function-to-check-for-null-undefined-or-blank-variables-in">Is there a standard function to check for null, undefined, or blank variables in JavaScript?</a></p>
  
  <p>I also found that the '===' operator is better to use over '==' operator.</p>
  
  <p><a href="https://stackoverflow.com/questions/359494/does-it-matter-which-equals-operator-vs-i-use-in-javascript-comparisons">Which equals operator (== vs ===) should be used in JavaScript comparisons?</a></p>
  
  <p>I need the shorter and save way for doing this. Now i am confuse with these two solution. Do i need to follow the standard way to check the statement is true or false or i need to use the '===' operator.</p>