Searching for: Functions in JavaScript
Function Declaration
Language: JavaScript

A function (method) is a block of code that can be called from another location in the program or class.

Anonymous Functions
Language: JavaScript

Used to declare and call a function at once.

Function Assignment
Language: JavaScript

Used to call and/or provide the context (object) for a function that is dependant on an object. Often, functions are assigned to objects and access object members using the 'this' keyword.

Language: JavaScript

Closures are inner functions declared within outer functions.

  Next Page >