Created
October 25, 2010 19:56
-
-
Save chbaranowski/645615 to your computer and use it in GitHub Desktop.
Funktion Deklaration und Aufruf in JavaScript - Demo SOTE Vorlesung
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Die Funktion wird deklariert mit einem Übergabeparameter und einem return Wert true. | |
function sayHello(message){ | |
alert('Hello World : ' + message); | |
return true; | |
} | |
// Die Methode wird aufgerufen mit dem Parameterwert ' to JavaScript!' | |
sayHello(' to JavaScript!'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment