This website works better with JavaScript
Página Principal
Explorar
Ajuda
Registe-se
Iniciar Sessão
Ethosa
/
Learn
mirror de
https://github.com/Ethosa/Learn
Vigiar
1
Colocar Estrela
0
Fork
0
Ficheiros
Problemas
0
Wiki
Árvore:
f085424687
Ramos
Etiquetas
main
Learn
/
Languages
/
js-rush
/
task3
Ethosa
f085424687
add `js-rush` folder
há 3 anos atrás
..
main.js
f085424687
add `js-rush` folder
há 3 anos atrás
readme.md
f085424687
add `js-rush` folder
há 3 anos atrás
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.