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

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

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -