This website works better with JavaScript
Почетна
Преглед
Помоћ
Регистрација
Пријавите се
Ethosa
/
Learn
огледало од
https://github.com/Ethosa/Learn
Прати
1
Волим
0
Креирај огранак
0
Датотеке
Дискусије
0
Вики
Дрво:
5ca0001a70
Гране
Ознаке
main
Learn
/
Languages
/
js-rush
/
task3
Ethosa
f085424687
add `js-rush` folder
пре 3 година
..
main.js
f085424687
add `js-rush` folder
пре 3 година
readme.md
f085424687
add `js-rush` folder
пре 3 година
readme.md
Return the Next Number from the Integer Passed
Create a function that takes a number as an argument, increments the number by +1 and returns the result.
Examples
addition(0) ➞ 1 addition(9) ➞ 10 addition(-3) ➞ -2
Notes
Don't forget to
return
the result.