var foo = undefined, bar = undefined; alert([ foo == bar, foo + bar == foo + bar, foo++-++bar == bar++-++foo ]);