Exam4Training

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

Exit mobile version