I am trying to access the value of inner function variable outside. But I cannot use it outside the inner function. My code is-
function t9(){
var start=298;
var diff;
function count(){
var end=400;
var diff=end-start;
}
return diff;
}
count, but never calling it. Is that intentional?