Hello to all forum members. I'm pretty new in terms of node js,What I want to do is execute commands synchronously
A simple example:this is my code below.
var arr=fun_test(){blah blah blah}
console.log(arr);
What actually happens is that I do the second command before the first one, I will be happy for any help.