Blog.

Defer Inline Anonymous Function Pattern

Code in this post can be obsolete, however, principles and theory may still apply.
var text = 'Deferred';
(function() {
    alert(text);
}.defer(2000, this));
saki
Follow me:
Latest posts by saki (see all)

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Enter your username and password to log into your account. Don't have an account? Sign up.

Want to collaborate on an upcoming project?