Small example with array
Explanation
- In the beginning we do some boolean things with array. Empty array isn’t false, so
![]
will return false
and
!![]
will return true
- And that’s it - on the next step we just sum
true
to our variable, and true
is equal to 1