I need help π΅βπ« with a π¨coding problem. I can't seems to get it to console log the string...π© Am I missing something here? π€π§
Syahiruddin Daud
Posted on April 2, 2023
The code:
const str = 'QXByaWwncyBGb29sIQ==';
function decodeStr(str) {
const result = atob(str);
console.log(result)
return result;
}
decodeStr(str);
π πͺ π
π©
Syahiruddin Daud
Posted on April 2, 2023
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.