What is the output of the following code snippet? 

var arr=[3,2,,,5,7]; 
for(i=0;i<5;i++){
   console.log(arr[i]); 
}

3 2 5

3 2 5 7

3 2 undefined undefined 5

3 2 undefined 5 7

Verified Answer
Correct Option - c

To get all Infosys Certified JavaScript 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