Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import subtract from "./modules/subtract";
import multiply from "./modules/multiply";
import {addTen, addFive} from "./modules/addNumbers";
import {subtractOne} from "./modules/subtractNumbers";
import divide from "./modules/divide";

const number1 = 393;
const number2 = 238;
Expand Down
2 changes: 1 addition & 1 deletion src/modules/add.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
function add(num1, num2) {
return num1 + num2;
}
export default add;
export default add;
6 changes: 6 additions & 0 deletions src/modules/divide.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

function divide(num1, num2) {
return num1 / num2;
}

export default divide;
Loading