0
So Variable c inside the function addNumbrr code block cannot be called again outside the function code block?
function addNumbers(a, b) { var c = a+b; return c; } document.write( addNumbers(40, 2) );
1 Respuesta
+ 4
yes you cannot !
var c was declared & tied to the function's scope(addNumbers in this case) and can be called only in that function,
Note: always try before searching, always try before asking.
https://code.sololearn.com/WSCw1DM58IDD/?ref=app