get-parameter-names
get-parameter-names copied to clipboard
Pull request #7 doesn't handle (c = (err, data)=>{})
I don't want this comment "lost" in pull #7 where I originally put it.
https://github.com/benbotto/get-parameter-names 0.3.2 still has the following problem: ( a = 1 , b=2, c = (err, data)=>{}) => {} returns ['a', 'b', 'c', 'data']
For anyone that lands here you can use my fork which resolves this issue: npm i @captemulation/get-parameter-names