source: imaps-frontend/node_modules/core-js/modules/esnext.uint8-array.from-hex.js@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 457 bytes
Line 
1'use strict';
2var $ = require('../internals/export');
3var globalThis = require('../internals/global-this');
4var aString = require('../internals/a-string');
5var $fromHex = require('../internals/uint8-from-hex');
6
7// `Uint8Array.fromHex` method
8// https://github.com/tc39/proposal-arraybuffer-base64
9if (globalThis.Uint8Array) $({ target: 'Uint8Array', stat: true }, {
10 fromHex: function fromHex(string) {
11 return $fromHex(aString(string)).bytes;
12 }
13});
Note: See TracBrowser for help on using the repository browser.