This commit is contained in:
Daria
2023-11-10 10:10:42 +03:00
parent 0956275ec4
commit ddc8ccff72
21 changed files with 980 additions and 10 deletions

View 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);
};