Updates:
Status: Accepted
Labels: Type-Bug Priority-Medium ES5
Comment #2 on issue 886 by [email protected]: Array extras methods are
not called with RegExp
http://code.google.com/p/v8/issues/detail?id=886
I concur. If (typeof / /) is "function", then by ES5 specification of
typeof, it means that the regexp implements [[Call]] and therefore is
callable. In that case filter should accept it (or we could make regexps
not callable, ofcourse).
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev