📅  最后修改于: 2022-03-11 15:03:28.358000             🧑  作者: Mango
const increment = (number, value = 1) => number + value;
console.log(increment(5, 2)); // returns 7
console.log(increment(5)); // returns 6