Posts by Liliane Quinto • 21 points
1 post
-
2
votes1
answer1834
viewsQ: Move arrays using "push" and "pop"
Declare a function called "move", which takes two arrays, removes the last element of the first and adds it to the second. Example: var umArray = [1, 2, 3]; var outroArray = [4, 5]; mover(umArray,…