[init]
This commit is contained in:
7
test_src/arithmetic.cjs
Normal file
7
test_src/arithmetic.cjs
Normal file
@@ -0,0 +1,7 @@
|
||||
module.exports.sum = function sum(a, b) {
|
||||
return a + b;
|
||||
}
|
||||
module.exports.div = function div(a, b) {
|
||||
if (b == 0) return NaN;
|
||||
return a / b;
|
||||
}
|
Reference in New Issue
Block a user