Skip to content

Instantly share code, notes, and snippets.

@kutyel
Created July 18, 2017 09:04
Show Gist options
  • Save kutyel/e364e79fd6065971f06f7efa7e812945 to your computer and use it in GitHub Desktop.
Save kutyel/e364e79fd6065971f06f7efa7e812945 to your computer and use it in GitHub Desktop.
Trailing commas allowed in JavaScript ES2017
// Todo lo que ves es JavaScript válido 🎉🎉🎉
const arr = [
1,
2,
3,
];
const hero = {
lastname: 'Izuku',
lastname: 'Midoriya',
};
const plusUltra = (one, for, all,) => ({});
plusUltra(1, 2, 3,);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment