Skip to content

Commit

Permalink
Create 2235-add-two-integers.js
Browse files Browse the repository at this point in the history
  • Loading branch information
chetannada committed Aug 11, 2023
1 parent 704285e commit ccc8a89
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions javascript/2235-add-two-integers.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/**
* @param {number} num1
* @param {number} num2
* @return {number}
*/
var sum = function (num1, num2) {
return num1 + num2; // add num1 and num2 and return it
};

0 comments on commit ccc8a89

Please sign in to comment.