value = !!value;
I had a suspicion it was simply a way to say "not not" if you will or a double negative. So I decided to step through the code just to make sure and found my guess validated.
value = true;