Analyzes the Call Stack to determine the calling script's URI.
The stack depth to inspect (default: 1)
The URI of the calling script
const scriptUrl = getScript(); Copy
const scriptUrl = getScript();
Analyzes the Call Stack to determine the calling script's URI.