Question from the Javascript - Fundamentals test

Archived

What's the problem with this code?

const student  = "INSA"; 
if (student === "INSA") 
{ 
        let certificate = true; 
        console.log('In this block, student='+student+'; certificate='+certificate); 
} 
console.log('In this block: student ='+student+'certificate='+certificate); 
Author: Vincent CotroStatus: Archived(New question!)(Update)Question passed 38 times
-1
Community EvaluationsNo one has reviewed this question yet, be the first!