Skip to content

Commit

Permalink
fromCharCode
Browse files Browse the repository at this point in the history
  • Loading branch information
dead-horse committed Sep 28, 2015
1 parent f55f6c9 commit 1f8ccd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/byte.js
Expand Up @@ -414,7 +414,7 @@ ByteBuffer.prototype.getRawString = function (index, length) {
data.push(v);
}
}
return String.fromCharCode.apply(null, data);
return String.fromCharCode.apply(String, data);
}
return String.fromCharCode(this._bytes[index]);
};
Expand Down

0 comments on commit 1f8ccd7

Please sign in to comment.