Question 21
Refer to the following array:
Let arr1 = [ 1, 2, 3, 4, 5 ];

Which two lines of code result in a second array, arr2 being created such that arr2 is not a reference to arr1?
Let arr1 = [ 1, 2, 3, 4, 5 ];

Which two lines of code result in a second array, arr2 being created such that arr2 is not a reference to arr1?
Question 22
Which two options are core Node.js modules?
Choose 2 answers
Choose 2 answers
Question 23
A team that works on a big project uses npm to deal with projects dependencies.
A developer added a dependency does not get downloaded when they execute npm install.
Which two reasons could be possible explanations for this?
Choose 2 answers
A developer added a dependency does not get downloaded when they execute npm install.
Which two reasons could be possible explanations for this?
Choose 2 answers
Question 24
Refer to the following code block:

What is the value of output after the code executes?

What is the value of output after the code executes?
Question 25
Which two console logs output NaN?
Choose 2 answers | |
Choose 2 answers | |
