Working with Functions

A JavaScript function is declared with the function keyword, and has no return type and no parameter types. A missing argument is undefined, an extra one is ignored, and a function with no return gives undefined. Functions are values, too.

Updated

Cheat sheet: Working with Functions
Category
JavaScript
Level
Apprentice
Tags
Callback Function, Default Parameter, Function Declaration, JavaScript, NaN, undefined