Question from the Javascript - Fundamentals test

Write a JavaScript code that checks if two variables are equal.

Easy

What does the following code display?

    let a = true; 
    let b = 'true'; 
    let c = 5; 
    if (a !== b) { 
          c = true; 
    } else { 
           c = false; 
    } 
    console.log(c); 
Author: KahinaStatus: PublishedQuestion passed 516 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!