This adds a new undefined singleton to Python, that corresponds directly to JavaScript `undefined`. It's accessible via `js.undefined`. Signed-off-by: Damien George <damien@micropython.org>
39 lines
398 B
Plaintext
39 lines
398 B
Plaintext
= TEST 1 ==========
|
|
1
|
|
<JsProxy 2>
|
|
py 1
|
|
<JsProxy 5>
|
|
py 2
|
|
2
|
|
resolved 123
|
|
3
|
|
= TEST 2 ==========
|
|
1
|
|
<JsProxy 6>
|
|
py 1
|
|
<JsProxy 9>
|
|
py 2
|
|
2
|
|
setTimeout resolved
|
|
resolved 123
|
|
3
|
|
= TEST 3 ==========
|
|
1
|
|
py 1
|
|
setTimeout resolved
|
|
resolved value: 123
|
|
py 2
|
|
2 null
|
|
= TEST 4 ==========
|
|
1
|
|
py 1
|
|
setTimeout A resolved
|
|
resolved value: 123
|
|
py 2
|
|
resolved value: 123
|
|
py 3
|
|
setTimeout B resolved
|
|
resolved value: 456
|
|
py 4
|
|
2 null
|