square root in javascript math code example Example: sqrt javascript let number = 16 Math.sqrt(number); //output = 4