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

CS-Cart - Change login URL in notification email -

cron - how to properly run Python script with crontab on every system startup -

elasticsearch - Is the order of operations guaranteed in a bulk update? -