The function 'require' returns the *loader data* as a second result. For file searchers, this data is the path where they found the module.
12 KiB
12 KiB
The function 'require' returns the *loader data* as a second result. For file searchers, this data is the path where they found the module.