In the following code snippet, what are the local variables of the function modByTwo? function addFive(x){
var five = 5;
var result = x + five;
return result
}

function modByTwo(x){
var result = x % 2;
return result;
}

result and x

x only

five, result and x

result only

Solved
Show answers

Ask an AI advisor a question