What is the expected output of the following code?

What is the expected output of the following code?

A . [2]
B . [3, 4, 5]
C . The program will cause an error.
D . [2, 3, 4, 5]

Answer: B

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments