From f2676294c95695e2de3a7fb88eafae76d6827618 Mon Sep 17 00:00:00 2001 From: Florrie Date: Thu, 31 May 2018 00:00:45 -0300 Subject: Let-const nitpicks --- util/wrap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/wrap.js') diff --git a/util/wrap.js b/util/wrap.js index 78e5233..3c381d4 100644 --- a/util/wrap.js +++ b/util/wrap.js @@ -7,7 +7,7 @@ module.exports = function wrap(str, width) { let curLine = words[0] - for (let word of words.slice(1)) { + for (const word of words.slice(1)) { if (curLine.length + word.length > width) { lines.push(curLine) curLine = word -- cgit 1.3.0-6-gf8a5