Which line edit should be made to make this code run?

A developer receives a comment from the Tech Lead that the code given below has error: error: const monthName = ‘July’; const year = 2019; if(year === 2019) { monthName = ‘June’; Which line edit should be made to make this code run?
A. 01 let monthName =’July’;
B. 02 let year =2019;
C. 02 const year = 2020;
D. 03 if (year == 2019) {

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.