fix 2 typos from restructuring

This commit is contained in:
Stefan Feješ
2017-12-27 17:05:37 +01:00
parent 5ac11605f2
commit d9f5f1e6a5
2 changed files with 2 additions and 2 deletions

View File

@ -9,5 +9,5 @@ const currentURL = () => window.location.href;
```
```js
currentUrl() // 'https://google.com'
currentURL() // 'https://google.com'
```

View File

@ -10,5 +10,5 @@ const digitize = n => [...'' + n].map(i => parseInt(i));
```
```js
differenceWith([1, 1.2, 1.5, 3], [1.9, 3], (a,b) => Math.round(a) == Math.round(b)) // [1, 1.2]
digitize(123) // [1, 2, 3]
```