Question: Answer all 3 question. plz do not take this assignment if you don't know the answer, don't submit wrong answer. thanks in advance, best of



Question 4 Consider the array: var cities - [Tokyo, New York, Mexico City, Seoul Which of the following blocks of code would change "New York' to 'Sao Paulo"? Select the best answer. cities['New York'] - 'Sao Paulo; cities [2] = cities[1] - cities.pop('New York); cities.push - Sao Paulo's Open with Question 5 Take a look at the code below. Var printit - function(){ console.log("Niagara, o rose again!"); console.log("Borrow or rob?"); var i; for (i -e; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
