javascript - How to increase a variable"s value by 1 eveytime I fire a function -


this question has answer here:

how do have pos=0 , each time fire function pos+=10 , how store how many times fire in var

you can following: var count = pos/10

thanks


Comments

Popular posts from this blog

many to many - Django Rest Framework ManyToMany filter multiple values -

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

Java Entity Manager - JSON reader was expecting a value but found 'db' -