Skip to content

Commit

Permalink
Update builtin_object.go
Browse files Browse the repository at this point in the history
Co-authored-by: Steven Hartland <[email protected]>
  • Loading branch information
rorymalcolm and stevenh authored Apr 11, 2024
1 parent 4c27383 commit 4e7db3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin_object.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4e7db3a

Please sign in to comment.