String.js 79 Bytes
Newer Older
1
export function _btoa(s) {
2 3
    return btoa(unescape(encodeURIComponent(s)));
}