Multiple choice technology programming languages What is the output of the below JavaScript? alert(Math.sqrt(-16)); -4 4 Error NaN Reveal answer Fill a bubble to check yourself D Correct answer Explanation In mathematics, the square root of a negative number is an imaginary number. In JavaScript, Math.sqrt() on a negative number returns NaN (Not a Number).