Tilde (~)

Run Settings
LanguageJavaScript
Language Version
Run Command
//Tilde or ‘bitwise NOT operator’, //Equivalent -n — 1 //Using two tildes makes // — ( — n — 1) — 1 = n + 1 — 1 = n let str = '98'; console.log(typeof str); str = ~~str; console.log(typeof str);
Editor Settings
Theme
Key bindings
Full width
Lines