0
Fill in blanks to make the variable arr3 look like the following: [1, 2, 3, 4, 5, 6, 7, 8].
Fill in blanks to make the variable arr3 look like the following: [1, 2, 3, 4, 5, 6, 7, 8]. const arr1 = [1, 2, 3]; const arr2 = [5, 6, 7, 8]; let arr3 = [ ... arr1, , ...arr2];
6 Answers
+ 5
Don't give homework here
+ 1
const arr1 = [ 1, 2, 3 ];
const arr2 = [ 5, 6, 7, 8 ];
let arr3 = [ ... arr1, 4, ... arr2 ];
+ 1
const
arr1
= [1, 2, 3];
const arr2 = [5, 6, 7, 8];
let arr3 = [
...
arr1,
4
, ...arr2];
0
const
arr1
= [1, 2, 3];
const arr2 = [5, 6, 7, 8];
let arr3 = [
...
arr1,
4
, ...arr2];
0
Fill in blanks to make the variable arr3 look like the following: [1, 2, 3, 4, 5, 6, 7, 8].
const
= [1, 2, 3];
const arr2 = [5, 6, 7, 8];
let arr3 = [
arr1,
, ...arr2];
- 1