Home>Parameters in JavaScript>Edit It: How to define a function with a default parameterEdit It: How to define a function with a default parameterThis code shows how to define a function with a default parameter.See it on StackBlitz