elibraryportal Logo

JS Function

Function is a block of code to use a particular task that means many times reuse the code.

Syntax:

Example:

Test it Now

JavaScript Function Parameters or Arguments

Pass the parameters in function.

Example:

Test it Now

JavaScript Function Return Value

call the function returns a value .

Example:

Test it Now
Next Topic