Skip to content

Instantly share code, notes, and snippets.

@myogeshchavan97
Last active November 19, 2019 06:45
Show Gist options
  • Save myogeshchavan97/7179611954bc3d7fcad11a112fd6bf89 to your computer and use it in GitHub Desktop.
Save myogeshchavan97/7179611954bc3d7fcad11a112fd6bf89 to your computer and use it in GitHub Desktop.
Concat Two Arrays
const first = ["monday","tuesday"];
const second = ["wednesday", "thursday", "friday"];
const combined = [...first, ...second];
console.log(combined);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment