parseFloatbeginnertypeof parseFloat('1.5') // β 'number'
typeof parseFloat('xyz') // β 'number' (NaN has typeof 'number')parseFloat() always returns a number type β even NaN has typeof 'number'.
typeof parseFloat('1.5') is 'number'.
Challenge: Verify the type of the result.