Commit 7b21c09b authored by Jackson Tian's avatar Jackson Tian Committed by Jeremiah Senkpiel
Browse files

lib: simplify code with String.prototype.repeat()

use String.prototype.repeat() to simplify code, less code,
more semantically.

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


Reviewed-By: default avatarMichaël Zasso <mic.besace@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent 1631f064
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