質問編集履歴

1

`for-of構文`を用いた場合のソースコードと, エラーを追記

2018/09/26 08:36

投稿

what_is_fff
what_is_fff

スコア13

test CHANGED
File without changes
test CHANGED
@@ -80,6 +80,14 @@
80
80
 
81
81
  }
82
82
 
83
+
84
+
85
+ for (it of iter) {
86
+
87
+ console.log(it.value); // => TypeError: iter is not iterable
88
+
89
+ }
90
+
83
91
  ```
84
92
 
85
93