Question: let actors = new Map ( ) ; / / Code will be tested with different actors actors.set ( Elijah Wood, { movie: The

let actors = new Map(); // Code will be tested with different actors
actors.set("Elijah Wood", { movie: "The Lord of the Rings", role: "Frodo Baggins" });
actors.set("Orlando Bloom", { movie: "Pirates of the Caribbean", role: "Will Turner" });
actors.set("Matthew McConaughey", { movie: "Interstellar", role: "Cooper" });
actors.set("Michael Connor Humphreys", { movie: "Forrest Gump", role: "Young Forrest Gump" });
function actorInfo(actorName, actors){
/* Your solution goes here */
}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!