You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In most of programming languages, parameters and arguments are different concepts. Also in JS when we look at the function from inside out we say parameter and when we look at the function from outside in we say argument. And as far as I know (and read from the blogs, documentations etc), the name of the concept of defaulting the values which are passed to the function is called default parameters not default arguments So in my honest opinion this can be confusing for newbies.
Activity
default parameters
#392