Кажется, что оператор !! приводит к двойному отрицанию.
!!
var foo = "Hello World!"; !foo // Result: false !!foo // Result: true