Predict the output of the following code snippet:

var value1=90;
change1=()=>value1=100
change2=()=>{
let value1=200;
if(true){
value1=900;
}


}

change1();
console.log(value1);
change2();
console.log(value1);

100 900

100 100

900 900

90 90

Correct Option - b

To get all Infosys Certified Java Script Protractor Tester 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