MCQs > IT & Programming > JavaScript > What's the output? 'use strict' class Xw{ constructor(a, b){ this.a = a; this.b = b; } tt() { var x; var c = 3; for(x=37; x!==0; x&=(x-1)) c++; document.write(c++ + this.a + this. b + 2 *2); } } var Obj1 = new Xw(23.5,26.5); Obj1.tt();

JavaScript MCQs

What will be the correct output of the following JavaScript code?
'use strict'
class Xw{
  constructor(a, b){
     this.a = a;
     this.b = b;
  }
  tt() {
     var x;
     var c = 3;
           for(x=37; x!==0; x&=(x-1))
                   c++;
           document.write(c++ + this.a + this. b + 2 *2);
  }
}

var Obj1 = new Xw(23.5,26.5);
Obj1.tt();


Answer

Correct Answer: 60

Explanation:

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

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it