XOR statement and WHY two !! before string

Please allow merge on the XOR.js for Week 1 Assignment 2 exclusive Or statement.
And does two !! means the same with only one ! in front of the string??

Thank you.

Eric