Running this code produces results as in comments, but why is it happening?
let a = [1,2,3];
let b = [1,2,3];
let c = '1,2,3';
a == c; // true
b == c; // true
a == b; // false
I noticed if you change the previous code with the following, final result changes:
let a = [1, 2, 3];
let b = [1, 2, 3];
let c = '1, 2, 3';
a == c; // false
b == c; // false
a == b; // false
Thank you!