JavaScript: Loose vs Strict Equality

Report a typo

Evaluate the following JavaScript comparisons involving type conversion.

let a = '5';
let b = 5;
let result1 = (a == b);
let result2 = (a === b);
console.log(result1, result2);
What will the output be?
Select one option from the list
___

Create a free account to access the full topic