title: Javascript ternary operator with?
body: <p>I saw this in a line of code for some javascript I inherited.</p>
  
  <p>What does this mean?</p>
  
  <p>msg is just an object. I am somewhat confused by the !!. Not sure why anyone would put this condition there</p>
  
  <p>(!!msg ? true : false)</p>