Merge pull request #103 from kingdavidmartins/update-head-of-list

update description of head & ran npm run build-list
This commit is contained in:
Angelos Chalaris
2017-12-14 10:27:28 +02:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
### Head of list
Return `arr[0]`.
Use `arr[0]` to return the first element of the passed array.
```js
const head = arr => arr[0];