1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-30 20:49:49 +02:00

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>
This commit is contained in:
iancoel
2022-09-04 08:34:18 -03:00
committed by GitHub
parent de63d5872a
commit 63721de167
4 changed files with 21 additions and 4 deletions

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>