1.Addition
solution(param1, param2)6 tests · 4 hiddenWrite a function that returns the sum of two numbers.
Examples
| Input | Output |
|---|---|
| 1, 2 | 3 |
| 0, 1000 | 1000 |
Constraints
- -1000 ≤ param1 ≤ 1000
- -1000 ≤ param2 ≤ 1000
- Return a number
Hints
solution.jsEsc then Tab leaves the editor
Run your code to check it against 6 tests.
⌘Enter