Default parameterGives a parameter a default value.Syntaxfunction name($x, $y = default) { }DescriptionIf no argument is provided, the default is used.ExampleLoading editor…▶ Try it yourselfExpected outputHello AlexWhen to use?Optional arguments.Related commandsfunction← functionArrow function ( fn ) →