Doubt on Node Js Inro


Image Link for last doubt .Why a is undefined at line 9 but when you do the same inside the callback , it runs correctly.