update snippets 47-62
This commit is contained in:
@ -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)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user