This website works better with JavaScript
Sākums
Izpētīt
Palīdzība
Reģistrēties
Pierakstīties
Ethosa
/
Learn
spogulis no
https://github.com/Ethosa/Learn
Vērot
1
Pievienot zvaigznīti
0
Atdalīts
0
Faili
Problēmas
0
Vikivietne
Koks:
f085424687
Atzari
Tagi
main
Learn
/
Languages
/
js-rush
/
task3
Ethosa
f085424687
add `js-rush` folder
3 gadi atpakaļ
..
main.js
f085424687
add `js-rush` folder
3 gadi atpakaļ
readme.md
f085424687
add `js-rush` folder
3 gadi atpakaļ
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.