From 4e7db3acb69085d085dc8ba2f3add64b93bcd2a5 Mon Sep 17 00:00:00 2001 From: rory malcolm Date: Thu, 11 Apr 2024 14:57:48 +0100 Subject: [PATCH] Update builtin_object.go Co-authored-by: Steven Hartland --- builtin_object.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin_object.go b/builtin_object.go index 63d514c2..45551c52 100644 --- a/builtin_object.go +++ b/builtin_object.go @@ -281,7 +281,7 @@ func builtinObjectValues(call FunctionCall) Value { }) return objectValue(call.runtime.newArrayOf(keys)) } - panic(call.runtime.panicTypeError("Object.Keys is nil")) + panic(call.runtime.panicTypeError("Object.Values is nil")) } func builtinObjectGetOwnPropertyNames(call FunctionCall) Value {