Skip to content

Instantly share code, notes, and snippets.

@lrecknagel
Created May 14, 2020 17:38
Show Gist options
  • Save lrecknagel/93934fc35a8fd4ecbac4a6b1eaabea76 to your computer and use it in GitHub Desktop.
Save lrecknagel/93934fc35a8fd4ecbac4a6b1eaabea76 to your computer and use it in GitHub Desktop.
crazy.js
function test(...[, , thirdArg, ...otherArgs]) {
console.log(thirdArg, otherArgs);
}
test(1, 'two', 3, 4, 'five');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment