Answer the question
In order to leave comments, you need to log in
Why does it not see connected modules when connecting a file?
Good afternoon. Please tell me why this code will not work?
config.js
(function log() {
sayToConsole('All working!')
}())
function sayToConsole(text) {
console.log(text)
}
require('./config.js')
Answer the question
In order to leave comments, you need to log in
Because you didn't send them to this included file?...
https://learn.javascript.ru/import-export
It's like
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question