Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/cli/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.1/cli/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