What will each of these module object values return?
CommonJS modules
Module object
Report a typo
Match the items from left and right columns
module.parent
module.children
module.path
module.filename
returns parent module that uses current module
returns current file path without the filename
returns child modules of the current module
returns the filename of the current module
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.