lv_micropython/tests/ports/webassembly/py_proxy_dict_undefined.mjs.exp
Damien George cfd5a8ea3a webassembly/proxy_c: Return undefined if dict lookup failed on JS side.
Instead of raising KeyError.  These semantics match JavaScript behaviour
and make it much more seamless to pass Python dicts through to JavaScript
as though they were JavaScript {} objects.

Signed-off-by: Damien George <damien@micropython.org>
2024-05-16 12:49:42 +10:00

12 lines
79 B
Plaintext

OK
OK
null
OK
[Function: value]
====
OK
OK
null
OK
[Function: obj] { _ref: 7 }