Logic Warm-ups

1.Addition

solution(param1, param2)6 tests · 4 hidden

Write a function that returns the sum of two numbers.

Examples

InputOutput
1, 23
0, 10001000

Constraints

  • -1000 ≤ param1 ≤ 1000
  • -1000 ≤ param2 ≤ 1000
  • Return a number

Hints

solution.js

Run your code to check it against 6 tests.

⌘Enter