update snippets 47-62

This commit is contained in:
Stefan Feješ
2017-12-25 14:16:05 +01:00
parent 62618883bf
commit 700e6edfe7
15 changed files with 64 additions and 22 deletions

View File

@ -6,5 +6,8 @@ Use `console.debug()` and the `name` property of the passed method to log the me
```js
const functionName = fn => (console.debug(fn.name), fn);
// functionName(Math.max) -> max (logged in debug channel of console)
```
```js
functionName(Math.max) -> max (logged in debug channel of console)
```