Comment #1 on issue 709 by dmitry.soshnikov: String.prototype._fn = function(){ return typeof(this); // 'string' instead 'object' }; // for Number and Boolean too
http://code.google.com/p/v8/issues/detail?id=709
In ES5 `this` value can be a primitive -- in the case of HasPrimitiveBase(V). So for
ES3 this is a bug, but not for ES5. -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
