//Bitwise operator console.log(~-2); // 1 console.log(~-1); // 0 //Converting Strings to Numbers console.log(~~"-1"); // -1 console.log(~~"0"); // 0