I want to make a function with two variables to input, and i want the second to have a default value in case i don’t put anything in.
like…
function DoSomething(valueA, valueB = 25){
Do Stuff;
}
DoSomething(8); <-- valueB is 25 here
DoSomething(5,15); <-- valueB is 15 here