Skip to main content
Branch: Development

evalModule

Callable

  • evalModule(code: string): Record<string, any>

  • Evaluates and executes the given JavaScript code.

    Remarks

    The code is evaluated in its own context, so it cannot access variables, functions etc. from the calling file.