Imagine you have a movie collection, and you want to write code that returns your review for each one. Here are the movies and your reviews: : <p>i am getting confused , how to do this task</p>

<blockquote>
  <p>Imagine you have a movie collection, and you want to write code that
  returns your review for each one. Here are the movies and your
  reviews:</p>

<pre><code>"Toy Story 2" - "Great story. Mean prospector."
"Finding Nemo" - "Cool animation, and funny turtles."
"The Lion King" - "Great songs."
</code></pre>
  
  <p>Write a function named getReview that takes in a movie name and
  returns its review based on the information above. If given a movie
  name not found just return "I don't know!". Use a structure learned in
  an earlier lesson (NOT if/else statements) to write this function.</p>
</blockquote>

<pre><code>var getReview = function (movie) {
    var a = ["Toy Story 2","Finding Nemo","The Lion King"]
    for(a[0]="Toy Story 2"){console.log("Great story. Mean prospector.")}
    for(a[0]="Finding Nemo"){console.log("Cool animation, and funny turtles.")}
    for(a[0]="The Lion King" ){console.log( "Great songs.")}
    };
</code></pre>

<p>some sugguest the rightway to doit.</p>
