square root javascript without math.sqrt code example Example: javascript square root var x = Math.sqrt(num);