質問編集履歴
5
追記③のリンクの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -154,4 +154,4 @@
|
|
154
154
|
|
155
155
|
stackoverflowでも質問してみました.
|
156
156
|
|
157
|
-
[Different output in 3 anonymous function in GAS](https://stackoverflow.com/questions/59386046/different-output-in-3-anonymous-function-in-gas
|
157
|
+
[Different output in 3 anonymous function in GAS](https://stackoverflow.com/questions/59386046/different-output-in-3-anonymous-function-in-gas)
|
4
追記③
test
CHANGED
File without changes
|
test
CHANGED
@@ -145,3 +145,13 @@
|
|
145
145
|
}
|
146
146
|
|
147
147
|
```
|
148
|
+
|
149
|
+
---
|
150
|
+
|
151
|
+
追記③
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
stackoverflowでも質問してみました.
|
156
|
+
|
157
|
+
[Different output in 3 anonymous function in GAS](https://stackoverflow.com/questions/59386046/different-output-in-3-anonymous-function-in-gas/59386799#59386799)
|
3
追記②
test
CHANGED
File without changes
|
test
CHANGED
@@ -107,3 +107,41 @@
|
|
107
107
|
同じサイトを見るとgoole.script.runの戻り値はvoidのようです.
|
108
108
|
|
109
109
|
なのでawaitは使用不可でしょうか.
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
---
|
114
|
+
|
115
|
+
追記②
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
scriptタグ内を以下のようにしたところ順番に表示されました.
|
120
|
+
|
121
|
+
```javascript
|
122
|
+
|
123
|
+
function success(get){
|
124
|
+
|
125
|
+
document.getElementById("wi").insertAdjacentHTML("afterend","<p>" + get + "</p>");
|
126
|
+
|
127
|
+
if (get > 0 && (get + 1) < 5){
|
128
|
+
|
129
|
+
aa(get + 1);
|
130
|
+
|
131
|
+
}
|
132
|
+
|
133
|
+
}
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
aa(1);
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
function aa(vv){
|
142
|
+
|
143
|
+
google.script.run.withSuccessHandler(success).withFailureHandler(failed).closer(vv);
|
144
|
+
|
145
|
+
}
|
146
|
+
|
147
|
+
```
|
2
追記①
test
CHANGED
File without changes
|
test
CHANGED
@@ -96,10 +96,14 @@
|
|
96
96
|
|
97
97
|
</html>
|
98
98
|
|
99
|
+
```
|
100
|
+
|
101
|
+
---
|
102
|
+
|
103
|
+
追記①
|
99
104
|
|
100
105
|
|
101
106
|
|
107
|
+
同じサイトを見るとgoole.script.runの戻り値はvoidのようです.
|
102
108
|
|
103
|
-
|
104
|
-
|
105
|
-
|
109
|
+
なのでawaitは使用不可でしょうか.
|
1
タイトルの編集
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
関数式の不思議とasync/awaitの使用方法
|
1
|
+
関数式の不思議 と async/awaitの使用方法
|
test
CHANGED
File without changes
|