mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-10-24 02:07:00 +08:00
feat: add arguments optional lab to full stack (#61835)
This commit is contained in:
@@ -4775,6 +4775,12 @@
|
||||
"intro": [
|
||||
"In this lab you will build a function to manage a record collection."
|
||||
]
|
||||
},
|
||||
"lab-optional-arguments-sum-function": {
|
||||
"title": "Build an Optional Arguments Sum Function",
|
||||
"intro": [
|
||||
"In this lab you will build a function that accepts up to two arguments, and sum them, but if there is only one argument returns a function that waits for the second number to sum."
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
---
|
||||
title: Introduction to the Build an Optional Arguments Sum Function
|
||||
block: lab-optional-arguments-sum-function
|
||||
superBlock: full-stack-developer
|
||||
---
|
||||
|
||||
## Introduction to the Build an Optional Arguments Sum Function
|
||||
|
||||
In this lab you will build a function that accepts up to two arguments, and sum them, but if there is only one argument returns a function that waits for the second number to sum.
|
||||
Reference in New Issue
Block a user