0

I've just walked into this code:

val.enabled = !!enable

and have no idea what does "!!" do... I googled JavaScript operators but haven't found this one.

Patrick McElhaney
  • 57,901
  • 40
  • 134
  • 167
Andrey
  • 20,487
  • 26
  • 108
  • 176

0 Answers0