Exploring built-in JS functions

Report a typo
Hey there! This problem might be a bit unpredictable, but give it a go and let us know how you do!
Consider the following JavaScript code:

let num = '15.3';
let parsedNum = parseFloat(num);
let sqrtVal = Math.sqrt(parsedNum);
alert(`The square root of ${parsedNum} is ${sqrtVal}`);
What will this code do when executed?
Select one option from the list
___

Create a free account to access the full topic