回答編集履歴
1
修正
test
CHANGED
@@ -1,4 +1,8 @@
|
|
1
1
|
以下のようになるのでは。
|
2
|
+
|
3
|
+
0. 変数名、seedとsendどっちかにそろえる。
|
4
|
+
|
5
|
+
0. Math.randam()ではなくて、Math.random()。
|
2
6
|
|
3
7
|
```HTML
|
4
8
|
|
@@ -132,7 +136,7 @@
|
|
132
136
|
|
133
137
|
for (var i = 0; i < len; i++) {
|
134
138
|
|
135
|
-
pwd += seed[Math.floor(Math.random() * seed.length)];//Math.randa
|
139
|
+
pwd += seed[Math.floor(Math.random() * seed.length)];//Math.randamではなくてMath.random
|
136
140
|
|
137
141
|
}
|
138
142
|
|