FUNCTION
Function:
it is a small job program
function separate -()
Types of function
1.Intransic (predefine)-
2.extransic (user define)-
#types of statement ;-
1. body of statement(representing main)
2. block of statement (condition/looping)
3. container statement (function)
#how to create function:-
Syntax;-
function name()
{
logic
}
# Function Terminology:-
1. Function Definition- create a function
2. function calling - access the function.
* access any type of function in javascript using button control- <button>
ex.
fun show()
{
}
<button onclick="show()"> </button>
Comments
Post a Comment