Skip to content

Conversation

lofcz
Copy link
Member

@lofcz lofcz commented Apr 6, 2022

  • not yet tested with closures.
  • probably not working with arrow functions, not tested yet (works now)
  • probably won't work in complex scopes/shadowing situations
  • f(x = () => {}) this pattern is currently throwing at runtime

@lofcz lofcz changed the title Draft default params DO NOT MERGE - Draft default params Apr 6, 2022
@lofcz lofcz changed the title DO NOT MERGE - Draft default params Draft default params Apr 7, 2022
@lofcz lofcz changed the title Draft default params Default params Apr 7, 2022
@lofcz lofcz closed this Apr 7, 2022
@lofcz lofcz mentioned this pull request Apr 7, 2022
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.

1 participant