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.setElijah Wood", movie: "The Lord of the Rings", role: "Frodo Baggins" ;
actors.setOrlando Bloom", movie: "Pirates of the Caribbean", role: "Will Turner" ;
actors.setMatthew McConaughey", movie: "Interstellar", role: "Cooper" ;
actors.setMichael Connor Humphreys", movie: "Forrest Gump", role: "Young Forrest Gump" ;
function actorInfoactorName actors
Your solution goes here
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
