Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let array = ['butts', 'cats', 'dfsdf', 'gffg'];
- function removeFirst(array) {
- return array.slice(1);
- };
- console.log(removeFirst(array))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement