What is the result of the code block?

What is the result of the code block?
A . The console logs only ‘flag’.
B . The console logs ‘flag’ and another flag.
C . An error is thrown.
D . The console logs ‘flag’ and then an error is thrown.

Answer: A

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments