goatslacker / get-parameter-names

Retrieves the argument names of a function
46 stars 13 forks source link

Fixed the two known issues that are present. #8

Closed benbotto closed 8 years ago

benbotto commented 8 years ago

Both issues are related to single-parameter arrow functions that do not wrap parameters in arrows. All original tests are passing, and I added tests to cover the two reported issues and the one pull request. I tried to match your coding conventions.

CaptEmulation commented 8 years ago

Looks like some overlap with PR #7

benbotto commented 8 years ago

Closing this PR. @CaptEmulation merged these change into #7, and fixed a backwards-compatibility issue in the arrow function tests while he was at it.