Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save oviniciusfeitosa/535886757562e316cedcba9f3c796393 to your computer and use it in GitHub Desktop.
Save oviniciusfeitosa/535886757562e316cedcba9f3c796393 to your computer and use it in GitHub Desktop.
Javascript - Spread Operator.md
function minhaFuncao(v, w, x, y, z) {console.log(v,w,x,y,z) } var args = [0,1]; minhaFuncao(-1, ...args, 2, ...[3]);
@oviniciusfeitosa
Copy link
Author

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