The == operator is supposed to compare the same data types and return True. But, the expressions before return false.
console.log(new String("A") == new String("A"));
console.log([1, 2, 3] == [1, 2, 3]);
The == operator is supposed to compare the same data types and return True. But, the expressions before return false.
console.log(new String("A") == new String("A"));
console.log([1, 2, 3] == [1, 2, 3]);