回答編集履歴

1

追記

2019/12/07 13:59

投稿

kyoya0819
kyoya0819

スコア10429

test CHANGED
@@ -23,3 +23,41 @@
23
23
 
24
24
 
25
25
  ```
26
+
27
+
28
+
29
+ ### で
30
+
31
+
32
+
33
+ ```JS
34
+
35
+
36
+
37
+ let desc = "awawa";
38
+
39
+
40
+
41
+ function onSuccess(json) {
42
+
43
+ return json.results.spot[0].description;
44
+
45
+ }
46
+
47
+
48
+
49
+ var result = onSuccess();
50
+
51
+
52
+
53
+ if(result!==undefined){
54
+
55
+ let desc = result;
56
+
57
+ }
58
+
59
+ console.log(desc);
60
+
61
+
62
+
63
+ ```