Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
function encode
import { encode } from "https://deno.land/x/masx200_leetcode_test@7.5.1/encode-and-decode-tinyurl/index.ts";

Encodes a URL to a shortened URL.

Parameters

longUrl: string

Returns

string