DASHA
This commit is contained in:
11
Работа с модулями/welcome/index.js
Normal file
11
Работа с модулями/welcome/index.js
Normal file
@@ -0,0 +1,11 @@
|
||||
const morning = require('./morning');
|
||||
const evening = require('./evening');
|
||||
|
||||
module.exports = {
|
||||
getMorningMessage: function () {
|
||||
console.log(morning);
|
||||
},
|
||||
getEveningMessage: function () {
|
||||
console.log(evening);
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user