title: MVC null ViewBag in JQuery
body: <p>I have a ViewBag that has no value. I am not even defining the ViewBag.SelectVale
  in my controller so I would expect it to be a null value.</p>
  
  <p>When I do the following in JQuery but does not work:</p>
  
  <pre><code>    if ('@ViewBag.SelectVale' == null){ 
  
       // do something
  
       }
  </code></pre>
  
  <p>What works instead is something like:</p>
  
  <pre><code>    if ('@ViewBag.SelectVale' == ""){ 
  
       // do something
  
       }
  </code></pre>