Multiple choice technology programming languages

What is the output of the below JavaScript?
alert(parseFloat("8.56"));

  1. 8.56

  2. 9

  3. error

  4. NaN

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

parseFloat() parses a floating-point number from a string. parseFloat("8.56") returns the numeric value 8.56. Unlike parseInt(), parseFloat() continues parsing through the decimal point and subsequent digits until it reaches a non-numeric character. The alert will display "8.56".