| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 83a2513 commit eaec35d
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -108,7 +108,7 @@ const sandbox = { | |||
| 108 | 108 | ||
| 109 | 109 | const script = new vm.Script('count += 1; name = "kitty";'); | |
| 110 | 110 | ||
| 111 | - const context = new vm.createContext(sandbox); | ||
| 111 | + const context = vm.createContext(sandbox); | ||
| 112 | 112 | for (let i = 0; i < 10; ++i) { | |
| 113 | 113 | script.runInContext(context); | |
| 114 | 114 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments