Question: . Based on the following code, which choice correctly assigns the value Webmaster to a new variable called topJob? var computerJobs = new Array(3); computerJobs[0]
. Based on the following code, which choice correctly assigns the value "Webmaster" to a new variable called topJob? var computerJobs = new Array(3); computerJobs[0] = "Programmer"; computerJobs[1] = "Database Administrator"; computerJobs[2] = "Webmaster"; a. var topJob = computerJobs[2]; b. var topJob = "computerJobs[2]"; c. var topJob = computerJobs(2); d. var topJob = computerJobs["Webmaster"];
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
