Skip to content

Instantly share code, notes, and snippets.

@aderaaij
Created November 14, 2017 22:39
Show Gist options
  • Save aderaaij/35f47689725cd162babd6ec093b9096b to your computer and use it in GitHub Desktop.
Save aderaaij/35f47689725cd162babd6ec093b9096b to your computer and use it in GitHub Desktop.
Basically, take in whatever in `array.of()` and return an array https://developer.mozilla.org/nl/docs/Web/JavaScript/Reference/Global_Objects/Array/of
const team = Array.of('Black Panther', 'Wolverine', 'X-23', 'Sabertooth');
console.log(team);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment