Posts by magestik • 33 points
1 post
-
2
votes2
answers1114
viewsQ: Add array elements to other arrays
I want to add 3 elements to each empty preference array using the splice method on the condition that when data1 has 3 elements it jumps to data2 and adds 3 elements and when data2 has 3 elements it…
javascriptasked magestik 33