Added MDN Docs links to rest and default parameters readme file following the guidelines (#2002)
* added link to mdn docs for rest parameter * Added links to MDN documentation for default parameters, rest parameters and function parameters * added rest parameter MDN Docs following guide lines * Added MDN Docs links to rest and default parameters in function parameters * Update content/roadmaps/106-javascript/content/109-javascript-functions/101-function-parameters/100-default-params.md * Update content/roadmaps/106-javascript/content/109-javascript-functions/101-function-parameters/100-default-params.md * Update content/roadmaps/106-javascript/content/109-javascript-functions/101-function-parameters/101-rest-params.md * Update readme.md Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>pull/2007/head
parent
2b0e39391e
commit
183c7db94f
3 changed files with 10 additions and 3 deletions
@ -1 +1,5 @@ |
||||
# Default params |
||||
# Default Parameters |
||||
|
||||
Default function parameters allow named parameters to be initialized with default values if no value or `undefined` is passed. |
||||
|
||||
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Default_parameters'>Default Parameters - MDN Docs</BadgeLink> |
||||
|
@ -1 +1,5 @@ |
||||
# Rest params |
||||
# Rest Parameters |
||||
|
||||
The rest parameter syntax allows a function to accept an indefinite number of arguments as an array, providing a way to represent [variadic functions](https://en.wikipedia.org/wiki/Variadic_function) in JavaScript. |
||||
|
||||
<BadgeLink colorScheme='yellow' badgeText='Rest parameters MDN documentation' href='https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters'>Rest Paremeters - MDN Docs</BadgeLink> |
||||
|
Loading…
Reference in new issue