DASHA
This commit is contained in:
6
Объект global и глобальные переменные/app.js
Normal file
6
Объект global и глобальные переменные/app.js
Normal file
@@ -0,0 +1,6 @@
|
||||
const greeting = require('./greeting');
|
||||
|
||||
global.name = 'Dasha';
|
||||
|
||||
global.console.log(date);
|
||||
console.log(greeting.getMessage());
|
||||
Reference in New Issue
Block a user