In the following code snippet:

function addTen(x){
var ten = 10;
var result = x + ten;
return result
}

function double(x){
var result = 2*x;
return result;
}
JavaScript
What are the local variables of the function double?

x, result, and ten

x and result

only x

only result

The local variables of the function double are x and result.