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

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

matplotlib support failed in PyCharm on OSX -

python - Matplotlib: TypeError: 'AxesSubplot' object is not callable -