Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/deno/cli/tsc/dts/lib.es5.d.ts>eval

A modern runtime for JavaScript and TypeScript.
Go to Latest
function eval
import { eval } from "https://deno.land/x/deno@v1.40.5/cli/tsc/dts/lib.es5.d.ts";

Evaluates JavaScript code and executes it.

Parameters

x: string

A String value that contains valid JavaScript code.