Predict the output of the following code.

Line 1: function getStatusData() { 
Line 2: var tempCounter = 10; 
Line 3: console.log(tempCounter);
Line 4: } 
Line 5: console.log(tempCounter >= 10 ? 'Active' : 'Inactive');

Error in Line 3

Inactive

Active

Error in Line 5

Correct Option - d

To get all Infosys Certified TypeScript Developer Exam questions Join Group https://bit.ly/infy_premium_group

We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.

Qtr No. 213, New Town Yehlanka Indore 454775

admin@prepflix.in