Y
Hacker News
new
|
ask
|
show
|
jobs
by
shinuza
4749 days ago
If
var a = [1, 2, 3] a == a
Returned false, it would by screwy. In this case the == operator behaves like the `is` operator in Python when comparing lists.