Skip to content

datasource.atob ^v2.6.185 ​

Decodes a base64 encoded string. This function is made to mimic the functionality of javascripts atob function.

js
datasource.atob(base64)

Parameters ​

  • base64 (string): The base64 encoded string you want to decode.

Returns ​

  • string: The decoded string from the provided base64 encoded input.

Examples ​

js
var decoded = datasource.atob("SGVsbG8gV29ybGQ=");
// decoded would be "Hello World" in this example.