Here is the JavaScript source code using functions and switch statements to return statements based on the favorite movie choice:
<script>
function favoriteMovieStatement(choice) {
switch(choice) {
case 1:
return "Not a bad choice";
break;
case 2:
return "No comment";
break;
case 3:
return "It has its moments";
break;
default:
return "I'm sure it was great";
}
}
var statement = favoriteMovieStatement(1);
console.log(statement);
</script>
This defines a function called favoriteMovieStatement that takes a choice as a parameter. It uses a switch statement to return different