+ 1
I need help in Javascript
Can somebody help? Im trying to make Bobâs age go up every 60 seconds but im still new to Javascript Hereâs my code https://code.sololearn.com/cAW7R6QI9zAx/?ref=app
3 Answers
+ 4
Royce
Here is the solution but you cannot apply 60 second in Sololearn Code Playground because program will terminate immediately. So I have used 10 for now.
You are already calling function in setInterval so no need to call again
https://code.sololearn.com/cJ2EjfDYxnly/?ref=app
+ 3
Use Web Code instead of Node.js code and you can achieve the results