Skip to content

Commit 74c5de7

Browse files
committed
drop some unneeded code
1 parent ad767b9 commit 74c5de7

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

packages/core-js/modules/esnext.uint8-array.set-from-base64.js

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ var INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS = !Uint8Array || !Uint8Array.prototype.s
1313
} catch (error) {
1414
return target[0] === 50 && target[1] === 54 && target[2] === 50 && target[3] === 255 && target[4] === 255;
1515
}
16-
return false;
1716
})();
1817

1918
// `Uint8Array.prototype.setFromBase64` method

tests/compat/tests.js

-1
Original file line numberDiff line numberDiff line change
@@ -1925,7 +1925,6 @@ GLOBAL.tests = {
19251925
} catch (error) {
19261926
return target[0] === 50 && target[1] === 54 && target[2] === 50 && target[3] === 255 && target[4] === 255;
19271927
}
1928-
return false;
19291928
},
19301929
'esnext.uint8-array.set-from-hex': function () {
19311930
return Uint8Array.prototype.setFromHex;

0 commit comments

Comments
 (0)