From: Jesse Tane Date: Tue, 11 Aug 2015 03:45:07 +0000 (-0400) Subject: standardize X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=72fc9d6834ecd334505d6c73aef160b4837320c9;p=buffer.git standardize --- diff --git a/index.js b/index.js index cdd3092..623e7cf 100644 --- a/index.js +++ b/index.js @@ -624,7 +624,14 @@ function base64Slice (buf, start, end) { function utf8Slice (buf, start, end) { end = Math.min(buf.length, end) - var firstByte, secondByte, thirdByte, fourthByte, bytesPerSequence, tempCodePoint, codePoint, res = [] + var firstByte + var secondByte + var thirdByte + var fourthByte + var bytesPerSequence + var tempCodePoint + var codePoint + var res = [] var i = start for (; i < end; i += bytesPerSequence) {