e.g.
$ node
> [1, 2, 3] == [1, 2, 3]
false
Apologies if I am using "identical" and "equivalent" incorrectly.
console.log([1, 2, 3] == [1, 2, 3]);
I ask, because I am used to languages such as Ruby
$ irb
irb(main):001:0> [1,2,3] == [1,2,3]
=> true
...or Python
$ python
>>> [1,2,3] == [1,2,3]
True
... where the double equals is comparing the value of the expression