Unverified Commit e03ee719 authored by Vse Mozhet Byt's avatar Vse Mozhet Byt Committed by Julian Duque
Browse files

doc: modernize code examples in the cluster.md

- Fixes https://github.com/nodejs/node/issues/10255
- It also will be consistent with a previous code example.
- `cluster.workers` iteration: `Object.keys().forEach` -> `for`...`in`

PR-URL: https://github.com/nodejs/node/pull/10270


Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
Reviewed-By: default avatarSam Roberts <vieuxtech@gmail.com>
parent a1652324
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment