fix 2 typos from restructuring
This commit is contained in:
@ -9,5 +9,5 @@ const currentURL = () => window.location.href;
|
||||
```
|
||||
|
||||
```js
|
||||
currentUrl() // 'https://google.com'
|
||||
currentURL() // 'https://google.com'
|
||||
```
|
||||
|
||||
@ -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]
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user