About Lesson
Parameters and Return Values:
- Parameters: Input values that a function accepts.
- Return: The output a function produces.
Example:
JavaScript
function add(a, b) {
return a + b;
}
let result = add(5, 3);
console.log(result); // 8