Searching...
Tuesday, 2 October 2012

JavaScript Functions

10:42 pm

  Javascript functions

Javascript functions :

 A javascript function is a reusable code block that will be wxecuted by an event, or when the function is called.
Syntax;
Function<function-name>(var1,var2,var3,---------)
{
Some code
}
Functions that are going to return a value must use the return statement.

0 comments:

Post a Comment

01 03 06 02 03a 04 05 7 8 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
Click to see the code!
To insert emoticon you must added at least one space before the code.