Consider the following code snippet :
 var c = counter(), d = counter(

Home | Discussion Forum
Taiyari24Hour

Consider the following code snippet :

 var c = counter(), d = counter();
c.count()
d.count()
c.reset()
c.count()
d.count()

The state stored in d is :

View More Related Question

2) Consider the following code snippet

o.m(x,y);

Which is an equivalent code for the above code snippet?

3) Which of the following is the correct code for invoking a function without this keyword at all, and also too determine whether the strict mode is in effect?

4) If you have a function f and an object o, you can define a method named m of o with

5) Consider the following code snippet :

var string2Num=parseInt("123xyz");

The result for the above code snippet would be :

UP Gk Online Test

taiyari24hour.com

Study 2 Online Says....
Kindly log in or signup.