From 9cd709198f3239b591a95a815cfc320de78a3a1c Mon Sep 17 00:00:00 2001 From: Wemi Moyela Date: Mon, 31 Oct 2022 09:01:44 +0100 Subject: [PATCH] Add details for JS Functions (#2772) --- .../106-javascript/content/109-javascript-functions/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/roadmaps/106-javascript/content/109-javascript-functions/readme.md b/content/roadmaps/106-javascript/content/109-javascript-functions/readme.md index eec09fe2f..76e3b72b4 100644 --- a/content/roadmaps/106-javascript/content/109-javascript-functions/readme.md +++ b/content/roadmaps/106-javascript/content/109-javascript-functions/readme.md @@ -1,6 +1,6 @@ # Functions -Functions are blocks of code that execute whenever they are invoked. They are useful for placing code snippets executed in different places in the code. +Functions exist so we can reuse code. They are blocks of code that execute whenever they are invoked. Each function is typically written to perform a particular task, like an addition function used to find the sum of two or more numbers. When numbers need to be added anywhere within your code, the addition function can be invoked as many times as necessary. Free Content Functions - MDN Docs