fix: replace JS algorithms and data structures bitly links (#41813)

This commit is contained in:
Kristofer Koishigawa
2021-09-22 00:46:25 +09:00
committed by GitHub
parent b681dbfabe
commit 8c9ca6a2fa

View File

@ -42,10 +42,10 @@ assert.deepEqual(addTogether(23, 30), 53);
assert.deepEqual(addTogether(5)(7), 12);
```
`addTogether("http://bit.ly/IqT6zt")` should return `undefined`.
`addTogether("https://www.youtube.com/watch?v=dQw4w9WgXcQ")` should return `undefined`.
```js
assert.isUndefined(addTogether('http://bit.ly/IqT6zt'));
assert.isUndefined(addTogether('https://www.youtube.com/watch?v=dQw4w9WgXcQ'));
```
`addTogether(2, "3")` should return `undefined`.