What does ~~ (“double tilde”) do in Javascript? code example Example: What does ~~ (“double tilde”) do in Javascript? What does ~~ (“double tilde”) do in Javascript?