mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-16 21:06:35 +08:00
feat: added new test case to argument optional challenge (#45076)
This commit is contained in:
parent
fe3187a4d7
commit
f4077cab7f
@ -60,6 +60,12 @@ assert.isUndefined(addTogether(2, '3'));
|
||||
assert.isUndefined(addTogether(2)([3]));
|
||||
```
|
||||
|
||||
`addTogether("2", 3)` should return `undefined`.
|
||||
|
||||
```js
|
||||
assert.isUndefined(addTogether('2', 3));
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
||||
## --seed-contents--
|
||||
|
||||
Loading…
Reference in New Issue
Block a user