+ 1
ES6
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]; what are the ?
21 Respostas
+ 10
const arr1 = [1, 2, 3];
const arr2 = [5, 6, 7, 8];
let arr3 =
[...arr1, 4 , ...arr2];
+ 5
the answer is this
[...arr1, 4 , ...arr2]
+ 3
The answer is 56
+ 1
The answer is here..
const
arr1
= [1, 2, 3];
const arr2 = [5, 6, 7, 8];
let arr3 = [
...
arr1,
4
, ...arr2];
+ 1
What is the output of the following code?
let nums = [3, 4, 5];
let all = [1, 2, ...nums, 6];
console.log(all[3]);
-------------------------
4 is the answer
+ 1
the answer is this
[...arr1, 4 , ...arr2]
0
what is a result of this code , please.
const square = num => num * num;
console.log(square(6) + 6);
0
42
is the answer to
const square = num => num * num;
console.log(square(6) + 6);
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];
Answer is
arr1
...
4
0
arr3 = [...arr1, 4, ...arr2];
0
const arr1 = [1, 2, 3];
const arr2 = [5, 6, 7, 8];
let arr3 =
[...arr1, 4 , ...arr2];
0
const ....... = [1, 2, 3];
const arr2 = [5, 6, 7, 8];
let arr3 = [...arr1,.... , ...arr2];
ŲŲ help plss
0
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
5 6
0
I think the answer is 9: I enjoyed over read your post.I got good ideas from this amazing post. I am always searching like this type of blog post. I hope I will see you again https://www.dumpscafe.com/Braindumps-MCD-Level-1.html
0
Answer is 56 trust me
0
What is the output of this code?
const arr = [2, 3, 1, 7];
const res = arr.map(x => x * 3);
console.log(res[1]);
answer is res[1]=9
0
the answer is 9
0
42