Consider type coercion, what does the following expression evaluate to?

Consider type coercion, what does the following expression evaluate to?

True + 3 + ‘100’ + null
A . 104
B. 4100
C. ‘3100null’
D. ‘4100null’

Answer: D

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments