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

x/deno/cli/js/web/streams/internals.ts>setFunctionName

A modern runtime for JavaScript and TypeScript.
Go to Latest
function setFunctionName
import { setFunctionName } from "https://deno.land/x/deno@v1.0.0/cli/js/web/streams/internals.ts";

An internal function which provides a function name for some generated functions, so stack traces are a bit more readable.

Parameters

fn: Function
value: string