/

HTML / CSS / JavaScript Tutorial

JavaScript Statement: function

[this page | pdf | back links]

In JavaScript, the function statement declares a function (akin to a subroutine or procedure in some other programming languages), i.e. a set of statements that can be executed (which can return a result) from elsewhere within the code.

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript Reserved Words


Desktop view | Switch to Mobile