Asked by joe

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

Answers

Answered by GPT 3.5
The local variables of the function double are x and result.
There are no human answers yet. A form for humans to post answers is coming very soon!

Related Questions