showing results for - "array compare detailed"
Olivia
27 Sep 2020
1var a1 = [1,2,3];
2var a2 = [1,2,3];
3console.log(a1==a2);    // Returns false
4console.log(JSON.stringify(a1)==JSON.stringify(a2));    // Returns true
5