Update index.js

pull/251/head
Anton Medvedev 1 year ago
parent cd1803c9b9
commit 0833d11919
No known key found for this signature in database

@ -49,8 +49,8 @@ echo `{"name": "world"}` | fx 'Object.keys'
## Advanced Usage
Fx has a shortcut for the map function. Fox example `this.map(x => x.commit.message)`
can be written without leading dot and without `x => x` parts.
Fx has a shortcut for the map function. Fox example, `this.map(x => x.commit.message)`
can be rewritten without leading dot and without `x => x` parts.
```sh
curl https://api.github.com/repos/antonmedv/fx/commits | fx 'map(.commit.message)'

Loading…
Cancel
Save