Daily Challenge

Complete today's challenge to maintain your streak!

Current Streak
1 Days
Challenges Completed
2
Total Points
1,100

Sum of Two Numbers

Easy100 pts

Description

Write a function that takes two numbers as parameters and returns their sum.

Test Cases

Test Case 1: sum(5, 3)
sum(5, 3) to return 8
Test Case 2: sum(-1, 1)
sum(-1, 1) to return 0
Test Case 3: sum(100, 200)
sum(100, 200) to return 300

💡 Hint: Use the + operator to add two numbers together.

javascript
Loading...

Previous Challenges

Reverse String

Easy

Find Maximum

Medium

Binary Search

Hard