Quantcast
Channel: My CMS
Viewing all articles
Browse latest Browse all 19

JavaScript Functions

$
0
0

A function is a block of code that will be executed when “someone” calls it:











JavaScript Function Syntax

A function is written as a code block (inside curly { } braces), preceded by the function keyword:

function functionname()
{
some code to be executed
}

The post JavaScript Functions appeared first on My CMS.


Viewing all articles
Browse latest Browse all 19

Trending Articles