Files
ETB/ETB-FrontEnd/node_modules/core-js/internals/get-alphabet-option.js
Iliyan Angelov 306b20e24a Frontend start
2025-09-14 00:54:48 +03:00

9 lines
297 B
JavaScript

'use strict';
var $TypeError = TypeError;
module.exports = function (options) {
var alphabet = options && options.alphabet;
if (alphabet === undefined || alphabet === 'base64' || alphabet === 'base64url') return alphabet || 'base64';
throw new $TypeError('Incorrect `alphabet` option');
};