Analyze the following code:
let x = 10 / 100; console.log(typeof (x));
As a result of its execution:
- an error will appear because JavaScript does not allow operations on fractional numbers.
- it will display “Number” in the console.
- it will display “Fraction” in the console.
- it will display 0.1 in the console.
More Questions: JavaScript Essentials 1 – JSE1: Module 2 Test
Please login or Register to submit your answer