Commit 3a3fde69 authored by lazlojuly's avatar lazlojuly Committed by Myles Borins
Browse files

doc: fix variable scoping bug in server example code

Const is block scoped.

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


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarMyles Borins <myles.borins@gmail.com>
parent c235708b
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