variabel loop dinamis .each buat hash javascript
for (var i = 0; i < coords.length; ++i) {
this["marker"+i] = "some stuff";
}
Confused Cassowary
for (var i = 0; i < coords.length; ++i) {
this["marker"+i] = "some stuff";
}