Edabit - Add up the Numbers from a Single Number - Javascript

Опубликовано: 16 Июль 2026
на канале: The Coding Odyssey
457
9

In this video we are solving another coding challenge from Edabit called Add up the Numbers from a Single Number using javascript:

Create a function that takes a number as an argument. Add up all the numbers from 1 to the number you passed to the function. For example, if the input is 4 then your function should return 10 because 1 + 2 + 3 + 4 = 10.

Here's the link to the coding challenge if you want to try it out yourself:

Edabit - Add up the Numbers from a Single Number: https://edabit.com/challenge/4gzDuDko...

#addupthenumbersfromasinglenumber #edabitjavascript #edabitjavascriptsolutions #edabitchallenges #edabit