- 1

javascript

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];

8th Mar 2019, 7:01 PM
Shebeta Alemu
Shebeta Alemu - avatar
19 ответов
+ 3
Arr1 is defined as 1,2,3 and arr2 is defined is 5,6,7,8 It’s supposed to read 1,2,3,4 and so on. Starting the clause you have to write...and the arr sequence in this case arr1. The next section is easy as it’s just the number 4 because if you look at it 4 is still missing between arr1 and arr2.
13th Dec 2019, 6:42 PM
Iraz Irfan
Iraz Irfan - avatar
+ 3
answer is arr1 ... 4
24th Dec 2019, 9:13 AM
Rana Abid
Rana Abid - avatar
+ 1
answer is 4
14th May 2020, 2:46 PM
Doaa Hatem Ahmed Qasem
Doaa Hatem Ahmed Qasem - avatar
0
let a = [1,2]; let b = [3,4]; let c = [...a, ...b]; console.log(c) //outputs [1,2,3,4] There would be not third param in c
8th Mar 2019, 10:53 PM
Ole113
Ole113 - avatar
0
Answer is arr1, '...', 4
14th May 2019, 2:55 PM
Kris O. Ouko
Kris O. Ouko - avatar
0
2nd Jun 2020, 6:30 PM
Sinny kumari
Sinny kumari - avatar
0
Ok it's 4 but what's before arr1 pls help me
8th Nov 2020, 2:54 PM
harsh
harsh - avatar
0
const arr1 = [1, 2, 3]; const arr2 = [5, 6, 7, 8]; let arr3 = [ ... arr1, 4 , ...arr2];
3rd Dec 2020, 8:04 PM
El Maslohi Hassan
0
the Answer is arr1, '...', 4
17th Dec 2020, 8:40 PM
Turikumana Isaie
Turikumana Isaie - avatar
0
...arr1,4
21st Mar 2021, 12:18 AM
Sifiso Mahlangu
0
arr1 ... 4
7th Jun 2021, 2:07 PM
Benyamin Gabriel
Benyamin Gabriel - avatar
0
please help me 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, 4 , ...arr2]
26th Oct 2021, 3:39 AM
tayyab ali
tayyab ali - avatar
0
26th Oct 2021, 3:52 AM
tayyab ali
tayyab ali - avatar
- 1
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, 4, ...arr2];
9th May 2020, 8:16 AM
Reza Febriansyah
Reza Febriansyah - avatar
- 1
const arr1 = [1, 2, 3]; const arr2 = [5, 6, 7, 8]; let arr3 = [...arr1, 4, ...arr2];
23rd May 2020, 7:59 PM
Pramod Vishwakarma
Pramod Vishwakarma - avatar
- 1
answer is : arr1 ...arr1 4
30th Nov 2020, 2:46 AM
Youssef EL Khiyari
Youssef EL Khiyari - avatar
- 4
Answer is const arr1 = [1, 2, 3]; const arr2 = [5, 6, 7, 8]; let arr3 = [...arr1, 4, ...arr2];
13th Jun 2019, 5:46 AM
Daniel Nehema
Daniel Nehema - avatar
- 4
What [... arr1, ...arr2];
28th Oct 2019, 1:24 AM
THEOFIL VALIANT
- 5
answer is arr1 [] and 4
5th May 2019, 9:06 PM
Viktorija Ugljesin
Viktorija Ugljesin - avatar