GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing syntaxdb.com — Function Declaration in JavaScript - SyntaxDB - JavaScript Syntax Reference LanguageVersion: 1.8.5Categories
FunctionsFunction Declaration in JavaScriptA function (method) is a block of code that can be called from another location in the program or class. SyntaxNotesfunctionName is defined by the programmer. functionParameters contain data used within the method, stored using variables. Parameters are defined as: (dataType parameterName), which is the data type of the input parameter and the name of the parameter as seen within the function. There can be multiple parameters separated by a comma. The function can only access other global functions and variables, ones passed into the function, as well as ones within the same class. Example
|
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |