📝 Added sandbox (code sketchbook)
This commit is contained in:
parent
b475595f7f
commit
b5daf18b1a
142 changed files with 100702 additions and 0 deletions
13
sandbox/jest/calculator.js
Normal file
13
sandbox/jest/calculator.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
const mathOperations = {
|
||||
sum: function(a, b) {
|
||||
return a + b
|
||||
},
|
||||
diff: function(a, b) {
|
||||
return a - b
|
||||
},
|
||||
product: function(a, b) {
|
||||
return a * b
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = mathOperations
|
||||
Loading…
Add table
Add a link
Reference in a new issue