We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a6b8cd commit 32efba0Copy full SHA for 32efba0
async.js
@@ -0,0 +1,10 @@
1
+function samplePromise(){
2
+ return Promise.resolve("Eko");
3
+}
4
+
5
+async function run(){
6
+ const name = await samplePromise();
7
+ console.info(name);
8
9
10
+run();
async.mjs
@@ -0,0 +1,6 @@
+const name = await samplePromise();
+console.info(name);
0 commit comments