doc,cluster: fix the lint of an example
Checklist
-
tests and code linting passes -
a test and/or benchmark is included -
documentation is changed or added -
the commit message follows commit guidelines
Affected core subsystem(s)
- doc
- cluster
Description of change
Just fix the example at https://nodejs.org/dist/latest-v6.x/docs/api/cluster.html, which doesn't follow the coding style.
By the way, how about moving example codes outside to separate files so that we can lint them in our build system.