Skip to content

Instantly share code, notes, and snippets.

Avatar
👓

ShilpiMaurya

👓
View GitHub Profile
@ShilpiMaurya
ShilpiMaurya / tdd.js
Last active Sep 1, 2019
Test Driven Development
View tdd.js
const Calculator = {
add: (num1, num2) => {
return num1 + num2;
},
sub: (num1, num2) => {
return num1 - num2;
},
multiply: (num1, num2) => {
return num1 * num2;
}