Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

A modern runtime for JavaScript and TypeScript.
Go to Latest
function escape
Deprecated
Deprecated

A legacy feature for browser compatibility

import { escape } from "https://deno.land/x/deno@v1.28.3/cli/tsc/dts/lib.es5.d.ts";

Computes a new string in which certain characters have been replaced by a hexadecimal escape sequence.

Parameters

string: string

A string value

Returns

string