0

I saw this in a line of code for some javascript I inherited.

What does this mean?

msg is just an object. I am somewhat confused by the !!. Not sure why anyone would put this condition there

(!!msg ? true : false)

Villumanati
  • 543
  • 2
  • 7
  • 16

0 Answers0