Skip to content

Commit

Permalink
Add Math.E (#1584)
Browse files Browse the repository at this point in the history
  • Loading branch information
melikhov-dev authored Sep 20, 2024
1 parent 70d0ae4 commit 4a75b98
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ export const getIsolatedSandboxChartBuilder = async (
const context = isolate.createContextSync();
const getQLConnectionTypeMap = registry.getQLConnectionTypeMap();
context.evalSync(
`const __modules = {};
`
// I do not know why, but this is not exists in V8 Isolate.
Math.E = ${Math.E};
const __modules = {};
let __params;
let __usedParams;
let __runtimeMetadata = {userParamsOverride: undefined};
Expand Down

0 comments on commit 4a75b98

Please sign in to comment.