Tagged “functions”
-
TIL Cleaner Functions cleancode functions patterns
tl;dr - Limit the number of arguments, Avoid executing multiple actions in a function, Avoid mutation, Avoiding non-negatives, Return Early
-
TIL Prototypical Inheritance vs return functions javascript proto functions
When to use proto versus return functions?
-
TIL how to pass unlimited arguments to a function mdn functions javascript
The rest parameter syntax allows a function to accept an indefinite number of arguments as an array, providing a way to represent variadic functions in JavaScript.
See all tags.