News for hackers. Stuff that matters.
Re:Nerdsniping: A glimpse into a stubborn mind by russellsprouts on Monday April 14, 2014 @05:03PM (#7588925)
Something like this could work, to some degree:

        a = {}
        a.valueOf = function() {
           var caller = arguments.callee.caller.toString();
           //parse the caller function, and return 
           //different values based on what comparison is being made. 
        }
But I think this is even worse than the getter on the global object.

There are no comments on this comment yet.