0

Hi peeps someone should help me out on this I want to make the following to look like this [1, 2, 3, 4, 5, 6, 7, 8]

Const arr1 = [1, 2, 3] Const arr2 = [5, 6, 7, 8] let arr3 = [___ arr1, -,... arr2] Fill the following blanks

21st Feb 2021, 9:31 PM
Francis Chukwudi
Francis Chukwudi - avatar
7 Respostas
+ 3
Francis Chukwudi what ??? Did you noticed that three people here took out time to answer your question and you didn't even answered back saying if the answer was correct or "thank you" or so but instead you asked two other questions that have nothing to do with your original question .
21st Feb 2021, 11:06 PM
Abhay
Abhay - avatar
+ 2
let arr3=[...arr1,...arr2] Francis Chukwudi
21st Feb 2021, 9:48 PM
Abhay
Abhay - avatar
+ 1
There are tow methods to do that: 1- Using concat method: let arr3 = arr1.concat(arr2) 2- Using spread method: let arr3 = [...arr1, ...arr2]
21st Feb 2021, 9:47 PM
Mhd AlHaj Houssein
Mhd AlHaj Houssein - avatar
0
const arr = [1,2,3,4,] const arr2 =[5,6,7,8] var r = arr + arr2 console.log(r)
21st Feb 2021, 9:39 PM
Preyas
Preyas - avatar
0
Yea thanks
23rd Feb 2021, 3:02 AM
Francis Chukwudi
Francis Chukwudi - avatar
0
I am grategul
23rd Feb 2021, 3:02 AM
Francis Chukwudi
Francis Chukwudi - avatar
- 1
How to complete the snails in the well project and words project
21st Feb 2021, 10:16 PM
Francis Chukwudi
Francis Chukwudi - avatar