Skip to main content
Module

x/vixalien_deno_blog/deps.ts>callsites

Modified version of deno_blog just for me!
Latest
function callsites
import { callsites } from "https://deno.land/x/vixalien_deno_blog@0.6.0/deps.ts";

Returns the list of CallSite objects from the V8 stack trace API.

import callsites from "";
function foo() {
  console.log(callsites()[0].getFileName());
  // => file:///path/to/file.js
}
foo();

Returns

CallSite[]