Hi everyone, I need your help. I'm working on a project and I have a problem with the fact that nodejs is asynchronous. I want to export my variable called 'macAd'. But even with a global variable, I can't do it.
Can you help me please ? Here is my code (I use ExpressJS Framework) : <https://lh3.googleusercontent.com/-BXG82Pb7DvE/WQncPQyRVpI/AAAAAAAAGL4/J4pWSrZiCAcjtKlVFSF1zbo1XsPqlNjPgCLcB/s1600/pic1.png> I have this output : <https://lh3.googleusercontent.com/-avHJAdkS-tc/WQncURfO0pI/AAAAAAAAGL8/RbV7NFxQDkI22aD0XKOJWpk_wb6EWRhBACLcB/s1600/pic2.png> Thank you. -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/90f07288-01ec-4ab2-8e50-9f5a9a1c15da%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
