Profile
Achievement
eden159's Recent Snippets
- All /
« Prev 1 Next »
Everything works as expected for the setTimeout() function until you try to call a method inside your ‘class’ (there are no real classes in JavaScript). Something like this won’t work:
setTimeout(this.methodToCall, time);
Passing a string r...
0
1253
posted 15 years ago by eden159