funcy icon indicating copy to clipboard operation
funcy copied to clipboard

Undefined when RegExp

Open magbicaleman opened this issue 10 years ago • 2 comments

// matches /ok$/ regular expression
[/ok$/,function(){}]

Is this suppose to pass into the function? I'm getting an undefined when

[/ok$/, (v) => console.log(v)]

magbicaleman avatar Oct 06 '16 19:10 magbicaleman

I've encountered the same issue. I've created a PR #8 to resolve this issue.

alexghenderson avatar Jan 28 '17 13:01 alexghenderson

This is fixed now, thanks to @alexghenderson.

bramstein avatar Feb 23 '17 10:02 bramstein