Why use default parameters in JavaScript functions?