From 1d7a49a952605c790ffb43b017fadc14235a1279 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=B8=EF=B8=8F?= <29265684+buffermet@users.noreply.github.com> Date: Fri, 6 Dec 2024 17:09:27 +0100 Subject: [PATCH] misc --- js/data.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/data.go b/js/data.go index ad62f3a8..6fe48f22 100644 --- a/js/data.go +++ b/js/data.go @@ -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())