News for hackers. Stuff that matters.
Re:Fun with JavaScript Arrays by switch33 on Wednesday June 12, 2013 @05:03AM (#5867191)
Lol, why isn't that fixed for javascript? That's beyond screwy.
Re:Fun with JavaScript Arrays by shinuza on Wednesday June 12, 2013 @08:14AM (#5867647)
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.