We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e23e1e commit 302d7fcCopy full SHA for 302d7fc
1 file changed
README.md
@@ -129,14 +129,7 @@ New `Global` provide an alternate solution: evaluate modules or scripts in a
129
separate global scope with shared intrinsics.
130
131
```js
132
-const dslGlobal = const new Global({
133
- globalThis: {
134
- __proto__: globalThis,
135
- describe,
136
- before,
137
- after,
138
- }
139
-});
+const dslGlobal = const new Global();
140
dslGlobal.describe = () => {}
141
dslGlobal.before = () => {}
142
dslGlobal.after = () => {};
0 commit comments