Files
30-seconds-of-code/glossary/Function.md
Angelos Chalaris 56cf33bd32 Add Function
2018-08-17 10:30:28 +03:00

6 lines
291 B
Markdown

### Function
Functions are self-contained blocks of code with their own scope, that can be called by other code and are usually associated with a unique identifier.
Functions accept input in the form of arguments and can optionally return an output.
JavaScript functions are also objects.