Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var foo = (function f(){
- return f;
- })(); // do this immediately
- // then later:
- foo();
- function foo(){}
- foo(), setInterval(foo, 1000); // immediately & later on an interval
- // LAME
- function foo(){}
- foo(); // immediately
- foo(); // then later
Add Comment
Please, Sign In to add comment