- Develop a rule for deciding when to create a function with a parameter rather than a normal function. Below your rule write a couple sentences justifying your rule.
- If you are going to call the function back with a different value.
- When do you need a function with a parameter?
- When you plan on calling back the function but with a different value for specific variables every time.
No comments:
Post a Comment