node.js - basic

This commit is contained in:
haerong22
2022-04-12 00:15:05 +09:00
parent ef6ebca959
commit 8095c43d5e
12 changed files with 58 additions and 0 deletions

8
nodejs/practice2/calc.js Normal file
View File

@@ -0,0 +1,8 @@
const add = (a, b) => a + b;
const sub = (a, b) => a - b;
module.exports = {
moduleName: "calc module",
add: add,
sub: sub,
}