I think the answer is yes but I just want to make sure. so if I have sub something { my $_; my @array = ...;
Sometimes I need a useful utility function, like List::Util::max in the middle of a large program that does lots of stuff. So if I do
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
function b() { function a() { console.log(x); } a(); const x = 10; } const x = 20; b() If I understand lexical scoping and execution context correctly, when function a() is invoked, it should ha