In particular (a == 0) && (a == 1) && (a == 2).
Here's a fun value for a:
var a = { called: -1, valueOf: function() { this.called += 1; return this.called; } };
var A = function(){ this.called = -1; } A.prototype.valueOf = function(){ this.called += 1; Return this.called; } var a = new A()