From ccc8a89e5314d229cc9d71c13aad239107c08ec1 Mon Sep 17 00:00:00 2001 From: Chetan Nada Date: Fri, 11 Aug 2023 20:37:01 +0530 Subject: [PATCH] Create 2235-add-two-integers.js --- javascript/2235-add-two-integers.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 javascript/2235-add-two-integers.js diff --git a/javascript/2235-add-two-integers.js b/javascript/2235-add-two-integers.js new file mode 100644 index 000000000..0ab61fe5a --- /dev/null +++ b/javascript/2235-add-two-integers.js @@ -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 +}; \ No newline at end of file