A
Q. Consider the following code snippet : The state stored in d is :
Code:
var c = counter(), d = counter();
c.count()
d.count()
c.reset()
c.count()
d.count()
c.count()
d.count()
c.reset()
c.count()
d.count()
- Correct Answer - Option(A)
- Views: 9
- Filed under category JavaScript
- Hashtags:
Discusssion
Login to discuss.