Files
micropython/tests/ports/webassembly/method_bind_behaviour.mjs.exp
Damien George 45aa65b67d webassembly/objjsproxy: Fix binding of self to JavaScript methods.
Fixes a bug in the binding of self/this to JavaScript methods.

The new semantics match Pyodide's behaviour, at least for the included
tests.

Signed-off-by: Damien George <damien@micropython.org>
2025-07-24 14:38:08 +10:00

12 lines
109 B
Plaintext

[ 1, 2 ]
3
[ 1, 2, 3 ]
4
[ 1, 2, 3, 4 ]
5
[ 1, 2, 3, 4, 5 ]
6
[ 1, 2, 3, 4, 5, 6 ]
meth1 (1, 2)
meth2 (3, 4)