nalyze the following code:
let counter = 100; let counter = 200; counter = 300;
As a result of its execution:
- the counter variable will have the value 100.
- the counter variable will have the value 200.
- the program will be aborted due to an error (redeclaration of a variable).
- the counter variable will have the value 300.
More Questions: JavaScript Essentials 1 – JSE1: Module 2 Test
Please login or Register to submit your answer