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
  • 55,601
  • 40
  • 126
  • 165
Andrey
  • 19,434
  • 24
  • 100
  • 171

0 Answers0