Back to all solutions
#2235 - Add Two Integers
Problem Description
Given two integers num1 and num2, return the sum of the two integers.
Solution
/**
* @param {number} num1
* @param {number} num2
* @return {number}
*/
var sum = function(num1, num2) {
return num1 + num2;
};