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

@ -57,7 +57,7 @@
* [Random integer in range](#random-integer-in-range) * [Random integer in range](#random-integer-in-range)
* [Random number in range](#random-number-in-range) * [Random number in range](#random-number-in-range)
* [Randomize order of array](#randomize-order-of-array) * [Randomize order of array](#randomize-order-of-array)
* [Redirect to URL](#redirect-to-url) * [Redirect to url](#redirect-to-url)
* [Reverse a string](#reverse-a-string) * [Reverse a string](#reverse-a-string)
* [RGB to hexadecimal](#rgb-to-hexadecimal) * [RGB to hexadecimal](#rgb-to-hexadecimal)
* [Run promises in series](#run-promises-in-series) * [Run promises in series](#run-promises-in-series)
@ -395,7 +395,7 @@ const hammingDistance = (num1, num2) =>
### Head of list ### Head of list
Return `arr[0]`. Use `arr[0]` to return the first element of the passed array.
```js ```js
const head = arr => arr[0]; const head = arr => arr[0];

View File

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