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