mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-13 21:02:08 +08:00
fix(curriculum): added a test in step 55 of pyramid try to guide more the camper (#56478)
This commit is contained in:
parent
b4f6b430c6
commit
eabc35f6f8
@ -33,7 +33,13 @@ You should have a function called `addTwoNumbers`.
|
||||
assert.isFunction(addTwoNumbers);
|
||||
```
|
||||
|
||||
Your function should return the sum of the two numbers.
|
||||
Your function `addTwoNumbers` should have two parameters.
|
||||
|
||||
```js
|
||||
assert.lengthOf(addTwoNumbers, 2);
|
||||
```
|
||||
|
||||
Your function should return the sum of the two parameters.
|
||||
|
||||
```js
|
||||
assert.strictEqual(addTwoNumbers(5,10), 15);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user