MCQs > IT & Programming > Mootools > Consider the following code snippet: var global = 1; var a = new Chain(); a.chain( function(){ global++;}, function(){ global++;} ); a.callChain(); a.callChain(); What is the result of this code snippet?

Mootools MCQs

Consider the following code snippet:
    var global = 1;
    var a = new Chain();
    a.chain(
        function(){ global++;},
        function(){ global++;}
    );
    a.callChain();
    a.callChain();
What is the result of this code snippet?

Answer

Correct Answer: 3

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Mootools Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Mootools Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it