how to omit default value in javascript method code example Example: javascript default parameters function multiply(a, b = 1) { return a * b; }