function
A function is a reusable piece of code that performs some logic and gives you a result The return keyword allows the function to give the result of its computation. return keyword can only be used inside a function. A parameter is a variable that a function receives. Most functions will use that variable they receive and will compute the result based on it. To call a function, you have to start ..
초보코딩
2024. 8. 18. 01:04