js parameter default values code example Example: ES6: Set Default Parameters for Your Functions const increment = (number, value = 1) => number + value;