
Solve Me First solution using JavaScript
Below is my solution to the Solve Me First challenge on HackerRank. In order to pass the test, the solveMeFirst
function must return a + b
.
const solveMeFirst = (a, b) => a + b;
function main() {
const a = parseInt(readLine());
const b = parseInt(readLine());;
return solveMeFirst(a, b);
}