0 votes
in ECMAScript by
What is the scope of the variable "a" in function below?

function val(x){

if(x>0){

let a = x;

console.log(a);

}

}

1 Answer

0 votes
by
Block

Related questions

0 votes
asked Feb 24 in JavaScript by DavidAnderson
0 votes
asked May 21, 2019 in Mathematics by sheetalkhandelwal
...