å æ¥ããã¡ãã®ãã¤ã¼ããè¦ããã¾ããã ããã«å¯¾ãã¦çè ã¯ä»¥ä¸ã®ãã¤ã¼ããããã¨ãããããã¤ãã®åå¿ãå¯ãããã¾ããã ã³ã¼ãé¨åãåæ²ãã¾ãã async function foo1() { return await Promise.resolve(); } async function foo2() { return Promise.resolve(); } async function wait() { await null; } // pika // chu // ã¨è¡¨ç¤ºããã foo1().then(() => console.log("pika")); wait().then(() => console.log("chu")); // chu // pika // ã¨è¡¨ç¤ºããã foo2().then(() => console.log("pika")); wait().the
{{#tags}}- {{label}}
{{/tags}}