Konstantin Svist aber hob zu reden an und schrieb: > You will be unable to use foo() even from within the function that > defined foo > source: > http://academ.hvcc.edu/~kantopet/old/javascript/index.php?page=adv+js+functions&parent=js+functions > > another way (i think this might be deprecated) > "You can make recursive calls within an anonymous function using > arguments.callee , which is a reference to the currently executing > function (even if it has no name)." > source: http://www.dustindiaz.com/awkward-looking-javascript/
It might be worth looking at m.o directly: http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Functions#Function_constructor_vs._function_declaration_vs._function_expression Karsten Karsten -- Feel free to correct my English. :) _______________________________________________ Project_owners mailing list [email protected] http://mozdev.org/mailman/listinfo/project_owners
