MCQOPTIONS
Saved Bookmarks
| 1. |
_ Consider the following code snippetconst 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 | |