function minhaFuncao(v, w, x, y, z) {console.log(v,w,x,y,z) } var args = [0,1]; minhaFuncao(-1, ...args, 2, ...[3]);
Created
July 24, 2019 04:05
-
-
Save oviniciusfeitosa/535886757562e316cedcba9f3c796393 to your computer and use it in GitHub Desktop.
Javascript - Spread Operator.md
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://developer.mozilla.org/pt-BR/docs/Web/JavaScript/Reference/Operators/Spread_operator