express
express copied to clipboard
Refactor app.param function
- Streamlined the implementation of the app.param function by replacing the for loop with forEach, improving readability.
- Maintained JSDoc comments to ensure clarity on the function's purpose and parameters.
- Enhanced code maintainability while preserving existing functionality.