Performing the operation:
let x = "Alice" + 10;
will result in:
- the value 15 of Number type to be stored in the variable x.
- the program execution to abort due to an error.
- the value NaN of Number type to be stored in the variable x.
- the value “Alice10” of String type to be stored in the variable x.
More Questions: JavaScript Essentials 1 – JSE1: Module 2 Test
Please login or Register to submit your answer