Guest User

Untitled

a guest
Jun 23rd, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. function firstFourItems(array) {
  2. return array.slice(0, 4);
  3. }
  4.  
  5. function lastThreeItems(array) {
  6. return array.slice(-3);
  7. }
Add Comment
Please, Sign In to add comment