Question from the Javascript - Fundamentals test

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

Medium

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 423 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!