How to Encode and Decode Strings with Base64 in JavaScript examples

How to Encode and Decode Strings with Base64 in JavaScript examples