DEV Community

Discussion on: JavaScript shorthand tips and tricks

Collapse
 
jonrandy profile image
Jon Randy 🎖️

Find number of parameters accepted by a function

This should read 'arguments' not 'parameters', and 'expected' not 'accepted' - functions in JS will accept any number of arguments