Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

dynamic loop variable .each create hash javascript

for (var i = 0; i < coords.length; ++i) {
    this["marker"+i] = "some stuff";
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #dynamic #loop #variable #create #hash #javascript
ADD COMMENT
Topic
Name
7+3 =