feat: added new test case to argument optional challenge (#45076)
This commit is contained in:
@ -60,6 +60,12 @@ assert.isUndefined(addTogether(2, '3'));
|
|||||||
assert.isUndefined(addTogether(2)([3]));
|
assert.isUndefined(addTogether(2)([3]));
|
||||||
```
|
```
|
||||||
|
|
||||||
|
`addTogether("2", 3)` should return `undefined`.
|
||||||
|
|
||||||
|
```js
|
||||||
|
assert.isUndefined(addTogether('2', 3));
|
||||||
|
```
|
||||||
|
|
||||||
# --seed--
|
# --seed--
|
||||||
|
|
||||||
## --seed-contents--
|
## --seed-contents--
|
||||||
|
Reference in New Issue
Block a user