回答編集履歴

1

typo

2021/08/04 13:42

投稿

itagagaki
itagagaki

スコア8402

test CHANGED
@@ -10,25 +10,25 @@
10
10
 
11
11
  var tenpu = [];
12
12
 
13
- var file;
13
+ var files;
14
14
 
15
15
 
16
16
 
17
- file = DriveApp.getFilesByName(ichiran);
17
+ files = DriveApp.getFilesByName(ichiran);
18
18
 
19
- if (file.hasNext()) {
19
+ if (files.hasNext()) {
20
20
 
21
- tenpu.push(file.next());
21
+ tenpu.push(files.next());
22
22
 
23
23
  }
24
24
 
25
25
 
26
26
 
27
- file = DriveApp.getFilesByName(ichiran1);
27
+ files = DriveApp.getFilesByName(ichiran1);
28
28
 
29
- if (file.hasNext()) {
29
+ if (files.hasNext()) {
30
30
 
31
- tenpu.push(file.next());
31
+ tenpu.push(files.next());
32
32
 
33
33
  }
34
34