This website works better with JavaScript
Etusivu
Tutki
Apua
Rekisteröidy
Kirjaudu sisään
Ethosa
/
Learn
peilaus alkaen
https://github.com/Ethosa/Learn
Tarkkaile
1
Äänestä
0
Fork
0
Tiedostot
Ongelmat
0
Wiki
Puu:
f085424687
Branchit
Tagit
main
Learn
/
Languages
/
js-rush
/
task3
Ethosa
f085424687
add `js-rush` folder
3 vuotta sitten
..
main.js
f085424687
add `js-rush` folder
3 vuotta sitten
readme.md
f085424687
add `js-rush` folder
3 vuotta sitten
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.