A
Q. In the following code, what value should the variable "a" contain?
Code:
var x =counter(), y = counter();
x.count()
y.count()
x.reset()
x.count()
y.count()
x.count()
y.count()
x.reset()
x.count()
y.count()
- Correct Answer - Option(C)
- Views: 4
- Filed under category JavaScript
- Hashtags:
Discusssion
Login to discuss.