سلام
وقت بخیر
چرا تابع test3 رد در اخر اجرا میکنه ؟
"strict mode";
async function test() {
console.log(" 1th TETX in asynch funchotion");
await test2(17, 7);
test3("TEST");
}
function test2(a, b) {
return console.log(a - b);
}
function test3(params) {
console.log(params);
}
function test4() {
console.log("FINISH");
}
test().then(test4());