javascript variable name in for statement 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";
}