The function 'require' returns the *loader data* as a second result. For file searchers, this data is the path where they found the module.
6.9 KiB
6.9 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.