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 {