funcy
funcy copied to clipboard
Undefined when RegExp
// 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)]
I've encountered the same issue. I've created a PR #8 to resolve this issue.
This is fixed now, thanks to @alexghenderson.