Status: New
Owner: ----

New issue 886 by [email protected]: Array extras methods are not called with RegExp
http://code.google.com/p/v8/issues/detail?id=886

["test", "testing"].filter(/ing$/); // TypeError: /ing$/ is not a function

RegExp object is callable in V8 (typeof / / === 'function'). Array extras methods (such as filter, forEach, map, etc.) accept callable object, but RegExp object is rejected.

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

Reply via email to