Tag Archives: timer

How to set a timer within an object in Javascript

UPDATE: I don’t recommend this method anymore: it’s not a good idea to add functions to Object.prototype. Prefer adding this function to your object prototypes. Here’s a useful method given by Douglas Crockford that can be added to Object.prototype : … Continue reading

Tagged , | Leave a comment