I created this function
function calc (a, b, variableName){
variableName = a * b;
}
The point is multiple a and b and create global variable
calc(2, 5, first);
calc(3, 5, second);
First function call should be first = 10; second call should be second = 15;
But it not works, how can I get global variable and define its name in function call?