1for (var i = 0; i < coords.length; ++i) {
2 this["marker"+i] = "some stuff";
3}
1function amppari() {
2var text = "";
3var text1 = "";
4var text2 = "";
5var text3="";
6var text4= "";
7var text5= "";
8
9
10 var possible = "abcdefghijklmnopqrstuvwxyzöä";
11
12 for (var i = 0; i < 6; i++){
13 text += possible.charAt(Math.floor(Math.random() * possible.length));
14text1 += possible.charAt(Math.floor(Math.random() * possible.length));
15text2 += possible.charAt(Math.floor(Math.random() * possible.length));
16text3 += possible.charAt(Math.floor(Math.random() * possible.length));
17text4 += possible.charAt(Math.floor(Math.random() * possible.length));
18text5 += possible.charAt(Math.floor(Math.random() * possible.length));
19
20
21}
22console.log(text+"\t"+text1+"\n"+text2+"\t"+text3+"\n"+text4+"\t"+text5+"\t");
23
24}
25amppari();
26//results in console:
27//wqdwxe unmokä
28//iuqckn roloäk
29//istqtu äuäayi
30//;)