Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.Runtime.CompileScriptRequest
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { CompileScriptRequest } = default.Runtime;

Properties

expression: string

Expression to compile.

sourceURL: string

Source url to be set for the script.

persistScript: boolean

Specifies whether the compiled script should be persisted.

optional
executionContextId: ExecutionContextId

Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page.