From 2b096853b1300e53cd786c96de75cc11fd668eeb Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Sun, 19 Aug 2018 22:48:17 +0300 Subject: [PATCH] Update Function.md --- glossary/Function.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glossary/Function.md b/glossary/Function.md index 5a90c7f39..83af63490 100644 --- a/glossary/Function.md +++ b/glossary/Function.md @@ -1,5 +1,5 @@ ### 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. +Functions accept input in the form of arguments and can optionally return an output (if no `return` statement is present, the default value of `undefined` will be returned instead). JavaScript functions are also objects.