Closed fwienber closed 10 years ago
"optionally" swallows parameters when target function uses ...rest parameter https://github.com/CodeCatalyst/promise-as3/issues/33
Implemented as proposed by John Yanarella: try to invoke with all given parameters and only slice to function's length if that fails with an ArgumentError.
Looks great. Thanks!
"optionally" swallows parameters when target function uses ...rest parameter https://github.com/CodeCatalyst/promise-as3/issues/33
Implemented as proposed by John Yanarella: try to invoke with all given parameters and only slice to function's length if that fails with an ArgumentError.