

MCQOPTIONS
Saved Bookmarks
1. |
Consider the following code snippet: const pi=3.14; var pi=4; console.log(pi); What will be the output for the above code snippet? |
A. | This will flash an error |
B. | Prints 4 |
C. | Prints 3.14 |
D. | Ambiguity |
Answer» B. Prints 4 | |