MACHIN
This commit is contained in:
12
3/Новый текстовый документ.txt
Normal file
12
3/Новый текстовый документ.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
module.exports.multiply = function (x, y) {
|
||||
return x * y;
|
||||
};
|
||||
module.exports.add = function (x, y) {
|
||||
return x + y;
|
||||
};
|
||||
|
||||
module.exports.multiplyAsync = function (a, b, callback) {
|
||||
setTimeout(function () {
|
||||
callback(a * b);
|
||||
}, 1000);
|
||||
};
|
||||
Reference in New Issue
Block a user