null, 3.-1, 4.undefined">
MCQs > IT & Programming > JavaScript > What will be the value of a? let a = void function f() { let a = 1 - 2; let b = 2 - 3 + 1; if (a) { return true; } else if (b) { return false; } else { return null; } return -1; }();

JavaScript MCQs

What will be the value of a? let a = void function f() { let a = 1 - 2; let b = 2 - 3 + 1; if (a) { return true; } else if (b) { return false; } else { return null; } return -1; }(); 

Answer

Correct Answer: undefined

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