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: KahinaStatus: Archived(New question!)Question passed 30 times
-1
Community EvaluationsNo one has reviewed this question yet, be the first!