Status: New
Owner: ----

New issue 1875 by [email protected]: function.name property doesn't work anymore
http://code.google.com/p/v8/issues/detail?id=1875

I have code like the following to aid in metaprogramming:

  cms.typeNameFromFunction = function(aFunction) {
    if ($.browser.msie) {
      return aFunction.toString().match(/function\s*([^\(]*)\s*()/)[1];
    }
    return aFunction.name;
  };


In the nightly build of today (18.0.981.0 (Entwickler-Build 115690 Mac OS X)) it stopped working for chromium.

I.e. aFunction.name is now null.

Regards,
Martin

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to