quickjs-emscripten icon indicating copy to clipboard operation
quickjs-emscripten copied to clipboard

Feature request: return property keys of a JSValue

Open Symbitic opened this issue 1 year ago • 2 comments
trafficstars

When a JSValue is a JavaScript object, I would like a way to return a list of all the valid properties that could be passed to getProp. This would help with error detection if an expected property isn't there and with iteration.

Symbitic avatar Jun 27 '24 22:06 Symbitic