Everything About JavaScript Functions

Everything About JavaScript Functions

www.techbit.in

www.techbit.in

Learn more

As proteins are the building blocks of life,  a Function is also the building block of JavaScript.

function functionName() {     // function body }

Syntax

function Hello() { alert("Hello there");}

When declaring a function, parameters are specified. And when calling a function, you pass the arguments resembling the parameters.

Parameters  Vs  Arguments

To learn in more detail about JavaScript Functions with examples, head on to www.techbit.in

To learn in more detail about JavaScript Functions with examples, head on to www.techbit.in

Learn more