const arr1 = [1,2,3];
const arr2 = [1,2,3];
const str = "1,2,3";
console.log(arr1 == arr2); // Why it's false
console.log(arr1 == str); // Why it's true
So, why the array to array comparison prints "false" and an array to string comparison prints "true"