MCQs > IT & Programming > JavaScript > What will be written in the alert box after executing the following code? ``` var a = 5; var b = 1; if(!!'false') { a = a + 5; b = 3; }; if(!!0) { a = a + 5; b = b + 2; }; alert(a+b); ```

JavaScript MCQs

What will be written in the alert box after executing the following code? ``` var a = 5; var b = 1; if(!!"false") { a = a + 5; b = 3; }; if(!!0) { a = a + 5; b = b + 2; }; alert(a+b); ```

Answer

Correct Answer: 13

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