The absolute path to the currently-executing file (whether script or module).
Behaves the same as in Node.js, except that it's also present within ES modules.
Example: /home/suchipi/some-folder/some-file.js
var __filename: string;The absolute path to the directory containing the currently-executing file.
Behaves the same as in Node.js, except that it's also present within ES modules.
Example: /home/suchipi/some-folder
var __dirname: string;