News for hackers. Stuff that matters.
Re:JavaScript Equality Table by program on Thursday March 27, 2014 @04:29AM (#7479184)
If you write ([[]] == false) you compare values of this object. Internally a [[]].toString() is called which gives an empty string (cause the first element is also an empty array) which in turn is considered false in javascript.

Otherwise [[],[]] is true cause cause [[],[]].toString() gives you this string: ",".

There are no comments on this comment yet.