Passing default values to function parameters can avoid nasty 'undefined' surprises and give us better control over our code. Open parenthesis, write a variable name, add equals, write the initial value you want, and close parenthesis. Easy peasy. No...
dmartorell.hashnode.dev1 min read
No responses yet.