Bug when object method has default arguments
tunnckoCore opened this issue · 0 comments
tunnckoCore commented
Something like this https://github.com/tunnckoCore/parse-function/blob/master/test.js#L27 but as object method.
var obj = {
namedFn (a = {foo: "ba)r", baz: 123}, cb, ...restArgs) {return a * 3}
}