Timeout
Foo = {}; Foo.bar = function(){ alert("test"); } setTimeout(Foo.bar, 1000); // 1 second later, alert's "test"