feat: added new test case to argument optional challenge (#45076)

This commit is contained in:
Poonkuzhali 2022-02-10 18:17:07 -05:00 committed by GitHub
parent fe3187a4d7
commit f4077cab7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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--