DEV Community

Discussion on: You don't know the first thing about functions in JavaScript

Collapse
 
bamideleandrew profile image
Andrew Bamidele • Edited

You know you could pass them directly in the parameters and reduce the number of lines and possibly prevent declaring this values twice