| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 10622c6 commit 0ae84c2
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -117,7 +117,7 @@ const sandbox = { | |||
| 117 | 117 | ||
| 118 | 118 | const script = new vm.Script('count += 1; name = "kitty";'); | |
| 119 | 119 | ||
| 120 | - const context = new vm.createContext(sandbox); | ||
| 120 | + const context = vm.createContext(sandbox); | ||
| 121 | 121 | for (let i = 0; i < 10; ++i) { | |
| 122 | 122 | script.runInContext(context); | |
| 123 | 123 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments