Skip to content

Commit 56fcc95

Browse files
darrachequesnemathiasbynens
authored andcommitted
Remove redundant var declaration
Closes mathiasbynens#22.
1 parent 6687e92 commit 56fcc95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utf8.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157

158158
// 2-byte sequence
159159
if ((byte1 & 0xE0) == 0xC0) {
160-
var byte2 = readContinuationByte();
160+
byte2 = readContinuationByte();
161161
codePoint = ((byte1 & 0x1F) << 6) | byte2;
162162
if (codePoint >= 0x80) {
163163
return codePoint;

0 commit comments

Comments
 (0)