blob: 8dbf92574d753adbee35bc9e6e65f569329b1939 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
let result = null;
let error = null;
let promise = import("javascript: export let b = 100;");
promise.then((ns) => {
result = ns;
}).catch((e) => {
error = e;
});
drainJobQueue();
assertEq(error, null);
assertEq(result.b, 100);
|