Update guide.md (#1150)
This commit is contained in:
parent
916f914727
commit
0698d67fef
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ $ DEBUG=koa* node --harmony examples/simple
|
||||||
|
|
||||||
Since JavaScript does not allow defining function names at
|
Since JavaScript does not allow defining function names at
|
||||||
runtime, you can also set a middleware's name as `._name`.
|
runtime, you can also set a middleware's name as `._name`.
|
||||||
This useful when you don't have control of a middleware's name.
|
This is useful when you don't have control of a middleware's name.
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
|
Loading…
Reference in a new issue