I need to \"animate\" a variable with jquery.
Example: The variable value is 1. The value should be 10 after 5 seconds. It should be increase \"smoothl
increment with setTimeout
setTimeout
x = 1 for(i=0;i<1000;i+=100){ setTimeout(function(){ console.log(x++) },i) }