DEV Community

Discussion on: Remembering that "functions are objects" can help in writing more concise code

Collapse
 
somedood profile image
Basti Ortiz

It really all comes down to being careful with parameters. As useful as this trick is, it can be dangerous if one has not read enough documentation. "With great power comes great responsibility" after all. Thanks for this! I appreciate all the quirks being discussed here in the comments section because even I wouldn't have thought of these quirks.