JavaScript Inner Functions

Last Updated Jul 29, 2015, 07:00:14 PM





JavaScript Inner Function

An inner function is a function inside another function (square in this case). An outer function is a function containing a function (addSquares in this case):

Example
Try It Now

Other JavaScript functions you might want to learn

JavaScript functions with paramters

JavaScript Anonymous functions

JavaScript named functions

JavaScript Recursive functions


Sources and Credits

The source of the content has been referred and updated with Mozilla Developer Network and W3C Organization

Last Updated Jul 29, 2015, 07:00:14 PM





Browser compatibility

Feature
Basic support Yes Yes Yes Yes Yes Yes Yes