What is the expected behavior of the following snippet?

What is the expected behavior of the following snippet?

It will:
A . cause a runtime exception
B . print 1
C . print 0, [1]
D . print [1]

Answer: A

Explanation:

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments