Skip to content

Instantly share code, notes, and snippets.

@cyrilletuzi
Created May 31, 2020 10:28
Show Gist options
  • Save cyrilletuzi/ba940c3faa68adf0dee47d5915479fcb to your computer and use it in GitHub Desktop.
Save cyrilletuzi/ba940c3faa68adf0dee47d5915479fcb to your computer and use it in GitHub Desktop.
function myMethod(required, optional = 'default') {}
myMethod(); // Error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment