Fix example code in document

The `getGeneralOf` is assigned in local variable.
Not in `_` variable.