JS Functions
A set of code that you can use over again, rather than writing it out multiple times.
Syntax :
function functionname (arguments- its optional){
// code
}
Example:
function number(moon, start){
console.log(moon + start)
}
number(55, 100)
// h...
blessie-blog.hashnode.dev1 min read