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