How to decode Base64 encoded JavaScript code

1. Open Devtools

2. Go to Console

3. Type "console.log(decodedString);", If it did not work, try using other strings instead of "decodedString"

Example:

Try doing this on an iframe: