4,I have to celebrate you baby. what's wrong with my code?



error messages:"Oops, try again. Check the review of Toy Story 2"

var getReview = function (movie) {
    switch(movie) {
        case"Toy Story 2":
            return "Great story.Mean prospector.";
        case"Finding Nemo":
            return "Cool animation, and funny turles.";
        case"The Lion King":
            return "Great songs.";
            return"I don't know!";



Hi This Line

return "Great story.Mean prospector.";

The string should look like The one They gave you in The instruction


thanks ,but when I change line
return "Great story. Mean prospector.";

it came out again:
"Oops, try again. Check the review of Finding Nemo"

I really don't know where it is different from the one they provided.


Thanks a lot.
I found that, it's in another line. A stupid error.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.