There isn't a specific function available to JS (it's calling jswrap_object_keys_or_property_names_cb(object, JSWOKPF_INCLUDE_NON_ENUMERABLE|JSWOKPF_INCLUDE_PROTOTYPE|JSWOKPF_NO_INCLUDE_ARRAYBUFFER)
But as I understand it you should be able to use Object.getOwnPropertyNames and then recursing down __protÂo__ of each object
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
There isn't a specific function available to JS (it's calling
jswrap_object_keys_or_property_names_cb(object, JSWOKPF_INCLUDE_NON_ENUMERABLE|JSWOKPF_INCLUDE_PROTOTYPE|JSWOKPF_NO_INCLUDE_ARRAYBUFFER
)But as I understand it you should be able to use
Object.getOwnPropertyNames
and then recursing down__protÂo__
of each object