professional-javascript-03-StaticExample.htm / htm
<html> <head> <title>Example</title> </head> <body> <script type="text/javascript"> function sayHi() { alert("hi"); } sayHi.alternate = function() { alert("hola"); }; sayHi(); //outputs "hi" sayHi.alternate(); //outputs "hola" </script> </body> </html>
(C) Æliens 20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.