You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Ahh - I think I'd added getOwnPropertyDescriptor possibly to enable some of the test262 tests to work. defineProperty is something I've been meaning to add (but not with high priority), but support will never be perfect as Espruino doesn't internally store some flags (enumerable/writable) on variables. It doesn't actually do getters/setters (yet) either.

    While you might use these functions for extending the language, I'd be surprised if that kind of stuff got used when actually 'doing stuff' with the microcontroller - hence it hasn't really taken priority.

About

Avatar for Gordon @Gordon started