I have seen the bitwise operator used in a self calling function, see below example, so I have a simple question, what does it do?
~(function() {
        alert("Hello World");
    })();I have seen the bitwise operator used in a self calling function, see below example, so I have a simple question, what does it do?
~(function() {
        alert("Hello World");
    })(); 
    
    