Is there a really easy way to toggle a boolean value in javascript?
So far, the best I\'ve got outside of writing a custom function is the ternary:<
bool === tool ? bool : tool
if you want the value to hold true if tool (another boolean) has the same value
tool