Files
est-frame/node_modules/core-js/internals/get-alphabet-option.js
2025-10-22 05:38:27 +00:00

9 lines
297 B
JavaScript
Executable File

'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');
};