This commit is contained in:
☸️ 2024-12-06 17:09:27 +01:00 committed by GitHub
commit 1d7a49a952
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -85,7 +85,7 @@ func atob(call otto.FunctionCall) otto.Value {
arg := argv[0]
if (!arg.IsString()) {
return ReportError("btoa: single argument must be a string.")
return ReportError("atob: single argument must be a string.")
}
decoded, err := base64.StdEncoding.DecodeString(arg.String())