📜  javascript 代码示例中的 asyncio.sleep

📅  最后修改于: 2022-03-11 15:02:19.856000             🧑  作者: Mango

代码示例3
let ms = 10000;
Atomics.wait(new Int32Array(new SharedArrayBuffer(4)), 0, 0, ms);

// exactly sleep in python or in bash