-3

I found in one JavaScript file:

value = !1

I am unable to understand what does it mean. Can anyone help? Thank you.

Barbora
  • 921
  • 1
  • 6
  • 11
krr2020
  • 23
  • 1
  • 7

1 Answers1

0

It is a short record false (not recommended to use, better to write full false)

console.log(!1)
Nikita Madeev
  • 4,284
  • 9
  • 20