Introduction to Objects I. I have to celebrate you baby


#1

var getReview= function(movie){

switch(movie){
case "Toy Story 2":
    console.log("Great story. Mean prospector.");
 break;
 case "Finding Nemo":
    console.log("Cool animation, and funny turles.");
    break;
    case "The Lion King":
        console.log("Great songs");
    break;
default:
    console.log("Can't get that movie");
    break;
}

}

getReview("Toy Story 2")

What is wrong with this code... I'm not seeing it,
should I say return?


#2

@r2d2_12,

It is stated in the Instruction's and return's
so use the return statement.

You should also make sure
to use the EXACT text's....


#3

you are no help at all next time help instead of telling us the same thing that the computer is telling us and help us with the answer


#4

Dont use console.log. Everything else is right.