Merge pull request #103 from kingdavidmartins/update-head-of-list
update description of head & ran npm run build-list
This commit is contained in:
@ -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];
|
||||
|
||||
Reference in New Issue
Block a user