Questions about the order of code execution under chrome version 67 and node8.9.4

problem description

questions about the sequence of code execution under chrome version 67 and node8.9.4

< hr >

the code is as follows:

/ / existing tasks An and B.
/ / for task A, whether synchronous or asynchronous,
/ / wants AB serial processing, that is, An executes B

.

const log = console.log;
const f = () = > console.log ("A");

(async () = > f ()) ();
log ("B");

/ / execution result
/ / chrome version 67 A = > B
/ / node8.9.4 B = > A

< hr >

question, why is the execution order different?

Jul.14,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c0ae8e-31d8c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c0ae8e-31d8c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?