This repository was archived by the owner on Feb 8, 2020. It is now read-only.

Description
Consider the following perfectly valid function:
function foo(a = (false, false, true)) {
return a;
}
When called with no parameter, this function returns true.
Parsing it with parse-function...
const pf = require('parse-function');
let p = pf().parse(foo);
console.warn(p.defaults);
...return the following defaults:
{ a: 'false, false, true' }
The defaults should be: