added missing square bracket on example

This commit is contained in:
Elder Henrique Souza
2017-12-12 16:04:52 -02:00
committed by GitHub
parent 8b88149ce2
commit 455b2cf570

View File

@ -4,5 +4,5 @@ Passing an array, it executes the Math.min method using the spread operator to f
```js
const getMinValue = arr => Math.min(...arr);
// getMinValue([10, 1, 5) -> 1
// getMinValue([10, 1, 5]) -> 1
```