Travis build: 452

This commit is contained in:
Travis CI
2017-12-28 22:11:31 +00:00
parent 96c0a73d07
commit c3725284e2
4 changed files with 66 additions and 2 deletions

View File

@ -5,7 +5,7 @@ Hides all the elements specified.
Use the spread operator (`...`) and `Array.forEach()` to apply `display: none` to each element specified.
```js
const hide = (...el) => [...el].forEach(e => e.style.display = 'none');
const hide = (...el) => [...el].forEach(e => (e.style.display = 'none'));
```
```js

View File

@ -5,7 +5,7 @@ Shows all the elements specified.
Use the spread operator (`...`) and `Array.forEach()` to clear the `display` property for each element specified.
```js
const show = (...el) => [...el].forEach(e => e.style.display = '');
const show = (...el) => [...el].forEach(e => (e.style.display = ''));
```
```js