We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28cf2e9 commit 10b4e86Copy full SHA for 10b4e86
packages/core-js/internals/uint8-from-hex.js
@@ -12,7 +12,6 @@ module.exports = function (string, into) {
12
if (stringLength % 2 !== 0) throw new SyntaxError('String should be an even number of characters');
13
var maxLength = into ? min(into.length, stringLength / 2) : stringLength / 2;
14
var bytes = into || new Uint8Array(maxLength);
15
- // This splitting is faster than using substrings each time.
16
var segments = stringMatch(string, /.{2}/g);
17
var written = 0;
18
for (; written < maxLength; written++) {
0 commit comments