Travis build: 505

This commit is contained in:
30secondsofcode
2018-09-22 11:42:48 +00:00
parent 2cc6c39bd4
commit 267d198ca3
15 changed files with 17 additions and 51 deletions

View File

@ -20,8 +20,8 @@
- [30 Seconds of CSS](https://30-seconds.github.io/30-seconds-of-css/)
- [30 Seconds of Interviews](https://30secondsofinterviews.org/)
- [30 Seconds of Python](https://github.com/kriadmin/30-seconds-of-python-code) *unofficial*
= [30 Seconds of PHP](https://github.com/appzcoder/30-seconds-of-php-code) *unofficial*
- [30 Seconds of Python](https://github.com/kriadmin/30-seconds-of-python-code) *(unofficial)*
- [30 Seconds of PHP](https://github.com/appzcoder/30-seconds-of-php-code) *(unofficial)*
#### Package
@ -491,15 +491,6 @@ average(1, 2, 3);
</details>
### Uncategorized
<details>
<summary>View contents</summary>
* [`pipeLog`](#pipelog)
</details>
---
@ -9147,32 +9138,6 @@ yesNo('Foo', true); // true
<br>[⬆ Back to top](#table-of-contents)
---
## Uncategorized
### pipeLog
Use `console.log` in a pipeline as this function simply encloses it and returns the passed value. This is especially useful for debugging when you want to log a variable's value before its usage.
Logs a value and returns it.
```js
const pipeLog = data => console.log(data) || data;
```
<details>
<summary>Examples</summary>
```js
pipeLog(1); // logs `1` and returns `1`
```
</details>
<br>[⬆ Back to top](#table-of-contents)
## Collaborators
| [<img src="https://github.com/Chalarangelo.png" width="100px;"/>](https://github.com/Chalarangelo)<br/> [<sub>Angelos Chalaris</sub>](https://github.com/Chalarangelo) | [<img src="https://github.com/flxwu.png" width="100px;"/>](https://github.com/flxwu)<br/> [<sub>Felix Wu</sub>](https://github.com/Pl4gue) | [<img src="https://github.com/fejes713.png" width="100px;"/>](https://github.com/fejes713)<br/> [<sub>Stefan Feješ</sub>](https://github.com/fejes713) | [<img src="https://github.com/kingdavidmartins.png" width="100px;"/>](https://github.com/kingdavidmartins)<br/> [<sub>King David Martins</sub>](https://github.com/iamsoorena) | [<img src="https://github.com/iamsoorena.png" width="100px;"/>](https://github.com/iamsoorena)<br/> [<sub>Soorena Soleimani</sub>](https://github.com/iamsoorena) |