Travis build: 505
This commit is contained in:
39
README.md
39
README.md
@ -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) |
|
||||
|
||||
Reference in New Issue
Block a user