10 | ShadowRealm API
11 |
12 | Press F12 to open devtools for debugging
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/docs-src/index.ts:
--------------------------------------------------------------------------------
1 | import './index.css';
2 | import '../src/polyfill';
3 |
4 | const code = `
5 | class ShadowRealm {
6 | constructor();
7 | evaluate(sourceText: string): Primitive | Function;
8 | importValue(specifier: string, bindingName: string): Promise