Skip to content

Commit

Permalink
Fix #47
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Jun 12, 2017
1 parent 1e3a4cd commit 4e0ed75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/number/parse-string.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ If you want to use one of the tricky ways, keep in mind that the intention is no
A solution could be wrap them into a named function:

```js
const toNumber = num => ~~num
const toNumber = num => +num
console.log(toNumber('10.9'))
// => 10.9
```
Expand Down

0 comments on commit 4e0ed75

Please sign in to comment.