Question 56
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 57
A developer needs to test this functions:

Which two assert statements are valid tests for this function?

Which two assert statements are valid tests for this function?
Question 58
Given the code below:
Setcurrent URL ();
console.log('The current URL is: ' +url );
function setCurrentUrl() {
Url = window.location.href:
What happens when the code executes?
Setcurrent URL ();
console.log('The current URL is: ' +url );
function setCurrentUrl() {
Url = window.location.href:
What happens when the code executes?
Question 59
Which javascript methods can be used to serialize an object into a string and deserialize a JSON string into an object, respectively?
Question 60
Refer to the code below:

What are the value of objBook and newObBook respectively?

What are the value of objBook and newObBook respectively?
