Skip to content

Fix README typo, normalizeIdentifiers() bug#4

Open
re-engineer wants to merge 1 commit into
jsoverson:masterfrom
re-engineer:master
Open

Fix README typo, normalizeIdentifiers() bug#4
re-engineer wants to merge 1 commit into
jsoverson:masterfrom
re-engineer:master

Conversation

@re-engineer
Copy link
Copy Markdown

This PR fixes #2 by applying the $argn_ syntax to BindingIdentifiers inside of ObjectBindings, ArrayBindings and BindingWithDefaults. n is based on the argument number of the ObjectBinding, etc., so this

(function ({x, y, z}, w) {})

would become this.

(function ({$arg0_lackingDude, $arg0_farTeapot, $arg0_mellowMode}, $arg1_eatableSaving) {})

It also fixes a typo in the README in which the object destructuring syntax of the import statement is omitted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Object destructuring in function arguments causes an error

2 participants