create dynamic variable in javascript for in code example
Example: dynamic loop variable .each create hash javascript
for (var i = 0; i < coords.length; ++i) {
this["marker"+i] = "some stuff";
}
for (var i = 0; i < coords.length; ++i) {
this["marker"+i] = "some stuff";
}