Posts by Anderson • 73 points
1 post
-
7
votes1
answer57
viewsQ: Take more than one element from an Array
I wonder how I get 2 elements of an array at once. numeros = [1, 2, 3] let primeiros = numeros[1] but I need to take the first 2 values, and I haven’t found how to do. I need something like: let…
javascriptasked Anderson 73