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