Add JS functions, parameters, arrow functions and IIFEs (#1661)

* Add javascript functions

* Add javascript function parameters

* Add javascript arrow functions

* Add javascript IIFE

* Update content/roadmaps/106-javascript/content/109-javascript-functions/101-function-parameters/readme.md

* Update content/roadmaps/106-javascript/content/109-javascript-functions/102-arrow-functions.md

* Update content/roadmaps/106-javascript/content/109-javascript-functions/103-iifes.md

* Update content/roadmaps/106-javascript/content/109-javascript-functions/readme.md

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
pull/1685/head
iancoel 2 years ago committed by GitHub
parent de63d5872a
commit 63721de167
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      content/roadmaps/106-javascript/content/109-javascript-functions/101-function-parameters/readme.md
  2. 6
      content/roadmaps/106-javascript/content/109-javascript-functions/102-arrow-functions.md
  3. 6
      content/roadmaps/106-javascript/content/109-javascript-functions/103-iifes.md
  4. 6
      content/roadmaps/106-javascript/content/109-javascript-functions/readme.md

@ -1 +1,6 @@
# Function parameters
# Function Parameters
The parameter is the name given to the variable declared inside the definition of a function. There are two special kinds of syntax: default and rest parameters.
<BadgeLink colorScheme="yellow" badgeText="Read" href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Functions#function_parameters">Function Parameters</BadgeLink>

@ -1 +1,5 @@
# Arrow functions
# Arrow Functions
Arrow Function is a new way of creating functions with the '=>' operator with a shorter syntax.
<BadgeLink colorScheme="yellow" badgeText="Read" href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions">Arrow function expressions</BadgeLink>

@ -1 +1,5 @@
# Iifes
# IIFE
Immediately-Invoked Function Expression is a function that is executed immediately after it is created.
<BadgeLink colorScheme="yellow" badgeText="Read" href="https://developer.mozilla.org/en-US/docs/Glossary/IIFE">IIFE — MDN Docs</BadgeLink>

@ -1 +1,5 @@
# Javascript functions
# 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.
<BadgeLink colorScheme="yellow" badgeText="Read" href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Functions">Functions - MDN Docs</BadgeLink>

Loading…
Cancel
Save